`x^2-x+(2x-2)=0`
`<=> x(x-1)+2(x-1)=0`
`<=> (x-1)(x+2)=0`
\(\Leftrightarrow\left[{}\begin{matrix}x-1=0\\x+2=0\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}x=1\\x=-2\end{matrix}\right.\)
\(x^2-x+\left(2\text{x}-2\right)=0\)
\(\Leftrightarrow x\left(x-1\right)+2\left(x-1\right)=0\)
\(\Leftrightarrow\left[{}\begin{matrix}x-1=0\\x+2=0\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}x=1\\x=-2\end{matrix}\right.\)
`x^2 - x+(2x-2)=0`
`(2x-2)+(x^2-x)=0`
`(x-1).(x+2)=0`
`=>x-1=0` hoặc `x+2=0`
`x=0+1` hoặc `x=0-2`
`=> x=1` hoặc `x=-2`