Factor using the perfect square rule.
Rewrite 25 as 52.
Check the middle term by multiplying 2ab and compare this result with the middle term in the original expression.
Factor using the perfect square trinomial rule a2-2ab+b2=(a-b)2, where a=x and b=-5.
Set the x-5 equal to 0.
Add 5 to both sides of the equation.
Solve using the Square Root Property x^2-10x+25=0