\(\left|3x-1\right|-x=2\)
\(\Leftrightarrow\left[{}\begin{matrix}3x-1-x=2;x\ge\dfrac{1}{3}\\1-3x-x=2;x< \dfrac{1}{3}\end{matrix}\right.\) \(\Leftrightarrow\left[{}\begin{matrix}2x=3\\-4x=1\end{matrix}\right.\)
\(\Leftrightarrow\left[{}\begin{matrix}x=\dfrac{3}{2}\left(tm\right)\\x=-\dfrac{1}{4}\left(tm\right)\end{matrix}\right.\)
Vậy \(S=\left\{\dfrac{3}{2};-\dfrac{1}{4}\right\}\)