@manoj
you are right...
but this is not simply a quadratic equation.
if we consider it as quadratic equation considering |x| as x, you will get two roots which are real (given in the question )
just because of x^2 and |x|
negative values of above roots(which you have got) also satisfy the above equation
hence total 4 roots