Hey guys, just wondering how you would go about determining f^(-1) (x) of the function,

f(x) = x + |x|/2

What I did first was that I let f(x) = y. Then, I switched the x and the y variables

y = x + |x|/2

x = y + |y|/2

I don't know how to isolate for y since part of it is in absolute notation. Help?