I'm trying to get rid of a removable discontinuity at $x=0$ in the function: $$\frac{1}{2}\left(1-\frac{|x|}{x}\right)\left|\sqrt[3]{x^3-c}-x\right|+\frac{1}{2}\left(1+\frac{|x|}{x}\right)\left(\sqrt[3]{x^3+c}-x\right)$$ where $c$ is a constant greater than $0$.
I'm only working with the reals. No matter what I do, I can't get rid of the $x$'s in the denominators. I've tried WolframAlpha but that didn't work. Any help or suggestions would be appreciated.
For context, I am trying to turn a continuous piecewise function into a single elementary function. I have done this kind of thing with many other piecewise functions, but this is the first one that I just can't make work.