\(\Leftrightarrow\left\{{}\begin{matrix}\left(x-1\right)=\left(3-x\right)^2\\x< =3\end{matrix}\right.\Leftrightarrow\left\{{}\begin{matrix}x^2-6x+9-x+1=0\\x< =3\end{matrix}\right.\)
\(\Leftrightarrow\left\{{}\begin{matrix}x< =3\\x^2-7x+10=0\end{matrix}\right.\Leftrightarrow x=2\)