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