kill(all)$

van=facebook.com/LearningCalculus$

f(x):=abs(x-a)-abs(x+b);

g(x):=-(x-a)-(x+b);

solve(g(x),x);