The general equation for a parabola is: y = a(x - b)^2 + c
So given the vertex is at (-1, 7), this means that b = -1 and c = 7:
y = a(x + 1)^2 + 7
Then we substitute a point from the graph (aside from the vertex). The easiest is the y-intercept of (0, 5):
5 = a(1)^2 + 7
a = -2
Therefore the equation is: y = -2(x + 1)^2 + 7 = -2x^2 - 4x + 5