solve the following quadratic equation for all values of X and simplest form find the error in the problem

we have
[tex](x-1)^2=9[/tex]Solve the quadratic equation
[tex]\begin{gathered} (x-1)^2=9 \\ \text{take square root both sides} \\ (x-1)=\pm3 \\ x=1\pm3 \\ x_1=1+3=4 \\ x_2=1-3=-2 \end{gathered}[/tex]