Đăng đúng môn nha :D
\(x^2-3x+2=0\Leftrightarrow x^2-2x-x+2=0\Leftrightarrow x\left(x-2\right)-\left(x-2\right)=0\Leftrightarrow\left(x-1\right)\left(x-2\right)=0\Leftrightarrow\left[{}\begin{matrix}x-1=0\\x-2=0\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}x=1\\x=2\end{matrix}\right.\\ \Rightarrow S=\left\{1;2\right\}\)