a: \(\Leftrightarrow\left(x-5\right)\left(x-4\right)=0\)
\(\Leftrightarrow\left[{}\begin{matrix}x=5\\x=4\end{matrix}\right.\)
b: \(\Leftrightarrow\left(x+6\right)\left(x-7\right)=0\)
\(\Leftrightarrow\left[{}\begin{matrix}x=-6\\x=7\end{matrix}\right.\)