Explanation:
This is a quadratic equation in the form of
vertex form

where (-2,-25) is the vertex in this case.

Let u equal x+2

Use difference of squares and we get

For the first binomial


Remember u=x+2


For the Second Binomial, repeat the steps above


So our solutions are 3 and -7