Factor using the perfect square rule.
Rewrite as .
Check the middle term by multiplying and compare this result with the middle term in the original expression.
Factor using the perfect square trinomial rule , where and .
Set the equal to .
Add to both sides of the equation.
Solve for x x^2-10x+25=0