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:

http://www.wolframalpha.com/input/?i=complete+the+square+of+x^2-8x-5