This question is attached.

Just in case you cannot see it, it asks to express the function f(x) in terms of the Heaviside function.

f(x)=x+1 when x<-1

3x when -1<x<1

2-x when x>1

I don't understand how to do this at all so please go easy on me. Baby steps .