(x-1)^2-x^2=-5
(x-1)^2-x^2 = -5 expand the expression in the parentheses
x^2 - 2x + 1 - x^2 = -5 simplify
-2x + 1 = -5 subtrtact 1 from each side
-2x = -6 divide both sides by -2
x = 3