Calculus Examples

Solve the Differential Equation f(x)=x(|x|-1)
I am unable to solve this problem.