x^2 - 6x + 40 = x + 5
Solution for quadratic equation
Subtract 40 from both sides.
x^2 - 6x + 40 - 40 = x + 5 - 40
= x^2 - 6x = x - 35
Subtract x from both sides.
x^2 - 6x - x = x - 35 - x
= x^2 - 7x = -35
Rewrite the equation in the form
(x + a)^2 = b
(x - 7/2)^2 = - 91/4
Answer
x = 7/2 + sqroot 91/2,
x = 7/2 - sqroot 91/2
Solution to simplify
Group like terms
x^2 - 6x + 40 = x + 5
x^2 - 6x - x = 5 - 40
x^2 - 7 = -35