\(\left(2x+3\right)\left(\dfrac{3x+8}{2-7x}+1\right)=\left(x-5\right)\left(\dfrac{3x+8}{2-7x}+1\right)\)
ĐK: \(x\ne\dfrac{2}{7}\)
\(\Leftrightarrow\left(2x+3\right)\left(3x+8+2-7x\right)=\left(x-5\right)\left(3x+8+2-7x\right)\\ \Leftrightarrow\left(2x+3\right)\left(10-4x\right)=\left(x-5\right)\left(10-4x\right)\\ \Leftrightarrow\left(10-4x\right)\left(2x+3-x+5\right)=0\\ \Leftrightarrow\left(10-4x\right)\left(x+8\right)=0\\ \Leftrightarrow\left[{}\begin{matrix}10-4x=0\\x+8=0\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}x=\dfrac{5}{2}\left(TM\right)\\x=-8\left(TM\right)\end{matrix}\right.\)
Vậy \(S=\left\{\dfrac{5}{2};-8\right\}\)