Enunciado
Faça o gráfico de cada função. Dê a imagem de \( f \).
a) \( f(x) = \begin{cases} 1 - x, & \text{se } x \leq 1 \\ 0, & \text{se } x > 1 \end{cases} \)
b) \( f(x) = \begin{cases} x + 2, & \text{se } x \leq 0 \\ 2, & \text{se } 0 < x < 4 \\ x - 2, & \text{se } x \geq 4 \end{cases} \)