We have that the vertex form of the quadratic function is:
where 'a' is a constant, and (h,k) is the point where the vertex of the parabola is.
In this case, we have the following function:
notice that if we move the -5 to the left side of the equation we have:
next, we can complete the square of x^2 + 2x. We can do this by dividing 2 by 2 and then elevating to the square the result, which is 1. Then if we add 1 on both sides of the equation we have:
finally, we can move the 6 to the right side to get:
therefore, the correct vertex form of f(x) is f(x) = (x+1)^2 - 6