\(\left(3x-1\right)^2=\left(x-1\right)^2\)
\(\Rightarrow9x^2-6x+1=x^2-2x+1\)
\(\Rightarrow9x^2-6x+1-x^2+2x-1=0\)
\(\Rightarrow8x^2-4x=0\)
\(\Rightarrow4x\left(2x-1\right)=0\)
\(\Rightarrow x\left(2x-1\right)=0\)
\(\Rightarrow\left[{}\begin{matrix}x=0\\2x-1=0\end{matrix}\right.\)
\(\Rightarrow\left[{}\begin{matrix}x=0\\x=\dfrac{1}{2}\end{matrix}\right.\)