Find the set of values of $\lambda$ for which the equation $|x^2-4|x|-12|=\lambda$ has 6 distinct real roots
My Approach:
$|x^2-4|x|-12|=\lambda$
Case 1:
$x^2-4|x|-12=\lambda$
If $x\geq 0$
$x^2-4x-12=\lambda\cdots(i)$If $x<0$ $x^2+4x-12=\lambda\cdots(ii)$
Case 2:
$x^2-4|x|-12=-\lambda$
If $x\geq 0$
$x^2-4x-12=-\lambda\cdots(iii)$If $x<0$ $x^2+4x-12=-\lambda\cdots(iv)$
Now, we know the equation has 6 distinct real roots. So either only 3 equations have real roots which are all distinct too, or, some roots are common. I don't now how to solve further and I need a hint to proceed.

