Which of the following is the equation of g(x) if the parent function is f(x) = x2 and a = 3, h = -5, and k = 6?
A. f(x) = 3(x - 5)2 + 6
B. f(x) = -3(x + 5)2 + 6
C. f(x) = 3(x + 5)2 + 6
D. f(x) = 3(x - 5)2 - 6