We can find the vertex of the function by expanding the function and replacing in the following expression:

Now, we expand the function:

Now, we replace in the expression:

Now, we proceed as follows:
We plug the value we got [That is the x-component of the vertex] in the equation and solve for x, that is:

So, the vertex is found in the point (5, 2).