
First we rewrite it to have an equation equal to zero:

To complete the square we have to consider that a perfect square looks like:

In this equation we have in the second term 8x, so comparing it to the perfect square we have that c must be 4:

If the last term of a perfect square is c², we should have 16 instead of 7. To complete the square we have to add and substract 16:

Note that if we do that the equation remains the same.
Now if we look at the first 3 terms we can see a perfect square:

And now we add 9 on both sides of the equation:

The equation rewritten in complete square form is (x + 4)² = 9