a.
\(x^2-x-\left(5x-5\right)=0\)
\(\Leftrightarrow x\left(x-1\right)-5\left(x-1\right)=0\)
\(\Leftrightarrow\left(x-1\right)\left(x-5\right)=0\)
\(\Rightarrow\left[{}\begin{matrix}x-1=0\\x-5=0\end{matrix}\right.\)
\(\Rightarrow\left[{}\begin{matrix}x=1\\x=5\end{matrix}\right.\)
Câu b hoàn toàn tương tự