To complete the square, you need to add or substract a number that makes the expression become a perfect square trinomial.
In this case, it is necessary to add 3 to both sides of the expression, this way:
Now, factor the expression:
(That is the appropiate form).
Now, solve the expression for x: