I can help with the piecewise function
I don't think I can correctly format it very well on my computer so I can give you the points if you can fill it in correctly.
f(x)=4 if x≤-2
f(x)= -x if -2<x<2
f(x)= -3 if x≥2
Hopefully this helps. I don't think I can help with problem #1. Sorry