\(\left[{}\begin{matrix}x+5=0\\x-3=0\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}x=-5\\x=3\end{matrix}\right.\)
\(a,\Rightarrow\left(x-3\right)\left(x+5\right)=0\Rightarrow\left[{}\begin{matrix}x=3\\x=-5\end{matrix}\right.\\ b,\Rightarrow x^2-x-2x+2=0\\ \Rightarrow\left(x-2\right)\left(x-1\right)=0\Rightarrow\left[{}\begin{matrix}x=1\\x=2\end{matrix}\right.\)
b)\(x^2-3x+2=0\Rightarrow\left(x-2\right)\left(x-1\right)=0\)
\(\Rightarrow\left[{}\begin{matrix}x=2\\x=1\end{matrix}\right.\)