\(a,2\left(x-1\right)+3=x+2\)
\(\Leftrightarrow2x-2+3=x+2\)
\(\Leftrightarrow2x-x=2+2-3\)
\(\Leftrightarrow x=1\)
Vậy \(S=\left\{1\right\}\)
\(b,\left(3x-7\right)\left(x+5\right)=\left(5+x\right)\left(3-2x\right)\)
\(\Leftrightarrow\left(3x-7\right)\left(x+5\right)-\left(5+x\right)\left(3-2x\right)=0\)
\(\Leftrightarrow\left(x+5\right)\left(3x-7-3+2x\right)=0\)
\(\Leftrightarrow\left(x+5\right)\left(5x-10\right)=0\)
\(\Leftrightarrow\left[{}\begin{matrix}x+5=0\\5x-10=0\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}x=-5\\x=2\end{matrix}\right.\)
Vậy \(S=\left\{-5;2\right\}\)