How to find the max and minimum of f(x)= abs(x-1 )+ 2abs(x+5) + 3abs(x-4) using derivatives?