The square term is so we expect the complete square to be of the form .
Let's compare the first degree terms now: we have on one side and on the other. That would make . At this point we have still the second squared term, so we add and subtract
Our equation becomes:
(the term comes from rewriting and adding the terms out of the bracket).