a. x2 = 2x
<=> x2 - 2x = 0
<=> x(x - 2) = 0
<=> \(\left[{}\begin{matrix}x=0\\x-2=0\end{matrix}\right.\)
<=> \(\left[{}\begin{matrix}x=0\\x=2\end{matrix}\right.\)
b. x3 - x = 0
<=> x(x2 - 1) = 0
<=> x(x - 1)(x + 1) = 0
<=> \(\left[{}\begin{matrix}x=0\\x+1=0\\x-1=0\end{matrix}\right.\)
<=> \(\left[{}\begin{matrix}x=0\\x=-1\\x=1\end{matrix}\right.\)