$$R\textrm{ is a ring(multiplicative identity not assumed) such that }x^{3}=x \: \: \forall x\in R.\\ \textrm{Prove that }R\textrm{ is a commutative ring }.$$
I have been able to show that $6x=0$ for all $x$ in $R$. Can I get some hints on how to proceed?