If you have a quadratic equation in the form

you can complete the square with the following instructions.
1. If the coefficient of

is not equal to 1, then you will need to divide the whole equation by a. Or simply divide the whole equation by a.

2. Then get all the x terms on one side of the equation. We do this by subtracting

from both sides of the equation.

3. Finally, take the half of the coefficient of

, square it and add it to both sides of the equation.

I hope that helped!