We can make things simpler. If for example the problem says we have 2 roots:

x = 1+- sqrt(2)
we can simply move the 1 over
x - 1 = sqrt(2)
(x-1)^2 = 2
(x^2 -2x +1) = 2
(x^2 - 2x - 1)