Add to both sides of the equation.

To create a trinomial square on the left side of the equation, find a value that is equal to the square of half of .

Add the term to each side of the equation.

Raise to the power of .

Simplify .

Raise to the power of .

Add and .

Factor the perfect trinomial square into .

Take the square root of each side of the equation to set up the solution for

Remove the perfect root factor under the radical to solve for .

Simplify the right side of the equation.

Rewrite as .

Pull terms out from under the radical, assuming positive real numbers.

The complete solution is the result of both the positive and negative portions of the solution.

First, use the positive value of the to find the first solution.

Move all terms not containing to the right side of the equation.

Add to both sides of the equation.

Add and .

Next, use the negative value of the to find the second solution.

Move all terms not containing to the right side of the equation.

Add to both sides of the equation.

Add and .

The complete solution is the result of both the positive and negative portions of the solution.

Solve by Completing the Square x^2-6x-40=0