\(\left(8-5x\right)\left(x+2\right)+4\left(x-2\right)\left(x+1\right)+2\left(x-2\right)\left(x+2\right)=0\)
\(\Leftrightarrow8x+16-5x^2-10x+4x^2+4x-8x-8+2x^2-8=0\)
\(\Leftrightarrow x^2-6x=0\Leftrightarrow x\left(x-6\right)=0\Leftrightarrow\orbr{\begin{cases}x=0\\x-6=0\end{cases}\Leftrightarrow\orbr{\begin{cases}x=0\\x=6\end{cases}}}\)
Vậy S = { 0, 6}