Completing the square is a technique for converting a quadratic polynomial of the form into the form where are constants.
So that's what we've done here and notice .
Does this answers your questions? ...
If you want to have a confirmation take a look here: