\(a.5x+20-x^2-4x=0\)
\(\Leftrightarrow5\left(x+4\right)-x\left(x+4\right)=0\)
\(\Leftrightarrow\left(5-x\right)\left(x+4\right)=0\)
\(\Leftrightarrow\orbr{\begin{cases}5-x=0\\x+4=0\end{cases}}\Leftrightarrow\orbr{\begin{cases}x=5\\x=-4\end{cases}}\)
\(b.x^2+3x-\left(2x+6\right)=0\)
\(\Leftrightarrow x^2+3x-2x-6=0\)
\(\Leftrightarrow x\left(x+3\right)-2\left(x+3\right)=0\)
\(\Leftrightarrow\left(x-2\right)\left(x+3\right)=0\)
\(\Leftrightarrow\orbr{\begin{cases}x-2=0\\x+3=0\end{cases}}\Leftrightarrow\orbr{\begin{cases}x=2\\x=-3\end{cases}}\)