Solving an equation like $|x-a| = 3$, is simple, where one just splits this into two equations for values of $x$ less than $a$ and values equal to or greater than $a:$ $$|x-a| = \left\{ \begin{array}{rcr} x-a & , & \text{if} \ \ x \geq a \\ -(x-a) & , & \text{if} \ \ x < a \\ \end{array} \right.$$
But how do you split it up if you have, for example, the equation $$||x-a|-a|=3\ ?$$