Answer:
As shown in attached file:
green is f(x) = -3 if -2 <= x <= -1
red is f(x) = -2 if -1 <= x <= 0
blue is f(x) = -1 if 0 <= x <= 1
Hope this helps!
:)