derivative of (1-abs(x))^2+(1+abs(x))^2