We are given the following equation:

To transform this to vertex form we will first take 2 as a common factor:

Now we will rewrite the expression inside the parenthesis as:

Now we assotiate terms:

Factoring the expression inside the parenthesis:

Using the distributive property:

And thus we get the equation in vertex form.