Fill in the reason for each step in the following two solutions.
Solve: $\log _{3}(x-1)^{2}=2$
$$
\begin{aligned}
&\begin{array}{ll}
{\text { Solution } A} & {\text { Solution } B} \\
{\log _{3}(x-1)^{2}=2} & {\log _{3}(x-1)^{2}=2}
\end{array}\\
&(x-1)^{2}=3^{2}=9 \quad 2 \log _{3}(x-1)=2\\
&(x-1)=\pm 3 \quad \log _{3}(x-1)=1\\
&x-1=-3 \text { or } x-1=3 \quad x-1=3^{1}=3\\
&x=-2 \text { or } x=4\\
&\pi x=4
\end{aligned}
$$
Both solutions given in Solution A check. Explain what caused the solution $x=-2$ to be lost in Solution B.