rewrite y=x^2+2x-5 into the form y=a(x-h)^2+k, and state the maximum or minimum value of y and the value of x when it occurs.

what about

y=x^2+2x +1 -6 ?