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