since you want to learn completing the square. ..I will give you a general way;
let's take the equation ax^2 + bx + c
now completing the square for this will be;
a [(x + b/2a)^2 - (b/2a)^2] + c
but when we are solving...you don't include the a outside the bracket. so if we were solving the equation ax^2 + bx + c = 0 then that would be;
(X + b/2a)^2 - (b/2a)^2 = -c/a.
now I will go further and solve for x here and you will see what we have at the end
(X + b/2a)^2 - b^2/4a^2 = -c/a
(X + b/2a)^2 = -c/a + b^2/4a^2
we can wrie the fraction on the RHS as one;
(X + b/2a)^2 = (-4ax + b^2)/4a^2
square root both sides;
x + b/2a = sqrt {b^2 - 4ac}/2a
leave x alone;
x = (-b +- sqrt {b^2 - 4ac})/2a.....And thats the quadratic formula
that was just a by the way but just remember the formulas at the start (how to arrange the values for completing the square) and the rest will just flow automatically
let me know if I helped