find the extreme values of the function on the interval and where they occur.

f(x) = |x-1|-|x-5|, -2<=x<=7