Answer
See graph and explanations.
Work Step by Step
Step 1. Based on the figure and conditions given in the exercise, the first line segment starts at point $(-1.0)$ with a slope of $-2$ (read from the step function); thus its line equation is $y=-2(x+1)$ or $y=-2x-2$. This also gives its other endpoint at $(0,-2)$
Step 2. The second line segment starts at $(0,-2)$ and has a slope of $0$; thus its equation is $y+2=0(x-0)$ or $y=-2$, the other endpoint for this segment is $(1,-2)$
Step 3. The third line segment starts at $(1,-2)$ and has a slope of $1$; thus its equation is $y+2=x-1$ or $y=x-3$, and the other endpoint for this segment is $(4,1)$
Step 4. The last line segment starts at $(4,1)$ and has a slope of $-1$; thus its equation is $y-1=-(x-4)$ or $y=-x+5$, and the other endpoint for this segment is $(6,-1)$
Step 5. We can graph the above results as shown in the figure.