a, \(x\left(x-5\right)-4x+20=0\)
\(\Leftrightarrow x\left(x-5\right)-\left(4x-20\right)=0\)
\(\Leftrightarrow x\left(x-5\right)-4\left(x-5\right)=0\)
\(\Leftrightarrow\left(x-5\right)\left(x-4\right)=0\)
\(\Rightarrow\left\{{}\begin{matrix}x-5=0\\x-4=0\end{matrix}\right.\)
\(\Rightarrow\left\{{}\begin{matrix}x=5\\x=4\end{matrix}\right.\)
Vậy \(x\in\left(5;4\right)\)
b ,\(x\left(x+6\right)-7x-42=0\)
\(\Leftrightarrow x\left(x+6\right)-\left(7x+42\right)=0\)
\(\Leftrightarrow x\left(x+6\right)-7\left(x+6\right)=0\)
\(\Leftrightarrow\left(x+6\right)\left(x-7\right)=0\)
\(\Rightarrow\left\{{}\begin{matrix}x+6=0\\x-7=0\end{matrix}\right.\)
\(\Rightarrow\left\{{}\begin{matrix}x=-6\\x=7\end{matrix}\right.\)
Vậy \(x\in\left(-6;7\right)\)