You can
put this solution on YOUR website!I'm assuming that you want to complete the square.

Start with the given expression.

Factor out the

coefficient

. This step is very important: the

coefficient
must be equal to 1.
Take half of the

coefficient

to get

. In other words,

.
Now square

to get

. In other words,

Now add
and subtract

inside the parenthesis. Make sure to place this after the "y" term. Notice how

. So the expression is not changed.

Group the first three terms.

Factor

to get

.

Combine like terms.

Distribute.

Multiply.
So after completing the square,

transforms to

.
In other words,

.