Suppose a parabola has an axis of symmetry at x = -5, a maximum height of 9, and passes through the point (-7, 1). Write the equation of the parabola in vertex form.

A y = -4(x - 5)^2 + 9
B y = -7(x +9)^2 - 5
C y = -0.06(x -5)^2+9
D y = -2(x+5)^2 + 9

I have no idea how to do this.

D y = -2(x + 5)^2 + 9 is your answer.