Sketch the graph of $f$ by hand and use your sketch to find the absolute and local maximum and minimum values of $f$. (Use the graphs and transformations of Sections 1.2 and 1.3.)
$f(x)= \begin{cases}1-x & \text { if } 0 \leq x<2 \\ 2 x-4 & \text { if } 2 \leq x \leq 3\end{cases}$