x can be positive, or zero, or negative.
|x| can ONLY be ZERO OR POSITIVE. It can NEVER be negative.
-|x| can ONLY be negative or zero, based on the possibilities for |x|.
Be sure that you clearly understand that.
What kind of "answer" are you looking for? You already have y in terms of x. This is an equation for two half-lines. The critical x value is at 0.
Two cases occur for your equation.
x is non-negative and x is negative. Those are two separate cases. x is not non-negative and negative at the same time.
.
.
Either OR ;
really these are the same result (and I explained but did not show the steps);
that .