the graph is in the picture.
Work Step by Step
if $x\lt-1$ then $g(x)=|-x-1|=-x-1$ if $-1\leq x\lt 0$ then $g(x)=|-x-1|=x+1$ if $0\leq x\lt 1$ then $g(x)=|x-1|=-x+1$ if $1\leq x$ then $g(x)=|x-1|=x-1$ and the graph is in the picture.
You can help us out by revising, improving and updating this answer.Update this answer
After 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.