The vertex form of a parabola is:

where (h,k) is the vertex and a is some constant.
From the graph, the vertex is located at (-2, 2), that is, h = -2 and k = 2. Substituting into the equation, we get:

Also, the point (-1, 5) is on the parabola, then:

Finally, the equation is:
