The given function is
We have to complete the square to find the vertex form. First, we move the independent term
Then, we take the linear coefficient to divide it by 2 and elevate it to the square power
Then, we add this number on both sides
Now, we factor the trinomial.
Then, we move the power to the other side and we express it as a function.
Hence,