Để (x+5)(21-x)=0
\(\Rightarrow\left[{}\begin{matrix}x+5=0\\21-x=0\end{matrix}\right.\Rightarrow\left[{}\begin{matrix}x=-5\\x=21\end{matrix}\right.\)
\(\left(x+5\right)\left(21-x\right)=0\)
\(\Rightarrow\left[{}\begin{matrix}x+5=0\\21-x=0\end{matrix}\right.\)
\(TH1:x+5=0\)
\(x\) \(=0-5\)
\(x\) \(=-5\)
\(TH2:21-x=0\)
\(x=21-0\)
\(x=21\)
Vậy \(x\left\{-5;21\right\}\)