can you please help me solve this question and show what steps you used? thanks !

We will have that the only way this conditions will be met is if we create a continuous piecewise function, in this case, the following follows all the criteria:
[tex]f(x)=\begin{cases}x\colon x\le-3 \\ \\ -3\colon x>-3\land x<2 \\ \\ -x-1\colon x\ge2\land x\le4 \\ \\ x-9\colon x>4\end{cases}[/tex]The following is the graph that proves it: