Sketch the graph of 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)=\left\{\begin{array}{ll}{1-x} & {\text { if } 0 \leqslant x<2} \\ {2 x-4} & {\text { if } 2 \leqslant x \leqslant 3}\end{array}\right.$