\(\left(x-6\right)^2=\left(x-6\right)^3\)
\(\left(x-6\right)^3-\left(x-6\right)^2=0\)
\(\left(x-6\right)^2\left(x-6-1\right)=0\)
\(\left(x-6\right)^2\left(x-7\right)=0\)
\(\Rightarrow\left[{}\begin{matrix}\left(x-6\right)^2=0\\x-7=0\end{matrix}\right.\)
\(\Rightarrow\left[{}\begin{matrix}x-6=0\\x=7\end{matrix}\right.\)
\(\Rightarrow\left[{}\begin{matrix}x=6\\x=7\end{matrix}\right.\)
Vậy x=6 hoặc x=7