Ta có: \(x^2-4x+4=x-2\)
\(\Leftrightarrow x^2-4x+4-x+2=0\)
\(\Leftrightarrow x^2-5x+6=0\)
\(\Leftrightarrow x^2-2x-3x+6=0\)
\(\Leftrightarrow x\left(x-2\right)-3\left(x-2\right)=0\)
\(\Leftrightarrow\left(x-2\right)\left(x-3\right)=0\)
\(\Leftrightarrow\left[{}\begin{matrix}x-2=0\\x-3=0\end{matrix}\right.\)\(\Leftrightarrow\left[{}\begin{matrix}x=2\\x=3\end{matrix}\right.\)
Vậy: \(x=2;3\)