we have

Find the roots
Equate the function to zero

Group terms that contain the same variable, and move the constant to the opposite side of the equation

Complete the square. Remember to balance the equation by adding the same constants to each side.


Rewrite as perfect squares

Square root both sides




therefore
the answer is
