Answer
See the graph.
Work Step by Step
Consider an equivalent equation:
f(x)=
1, if x < -1
-x, if -1 $\leq$ x $\leq$ 0
x, if 0 < x $\leq$ 1
1, if x > 1
See the graph above.
You can help us out by revising, improving and updating this answer.
Update this answerAfter you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.