the idea behind the completion of the square is simply using a perfect square trinomial, hmmm usually we do that by using our very good friend Mr Zero, 0.
if we look at the 2nd step, we have a group as x² - x, hmmm so we need a third element, which will be squared.
keeping in mind that the middle term of the perfect square trinomial is simply the product of the roots of "a" and "b", so in this case the middle term is "-x", and the 1st term is x², so we can say that
so that means that our missing third term for a perfect square trinomial is simply 1/2, now we'll go to our good friend Mr Zero, if we add (1/2)², we have to also subtract (1/2)², because all we're really doing is borrowing from Zero, so we'll be including then +(1/2)² and -(1/2)², keeping in mind that 1/4 - 1/4 = 0, so let's do that.