Answer
see graph
Work Step by Step
Using a table of values, the red graph is the graph of the first equation and the blue graph is the graph of the second equation in the given piecewise function, $f(x)=
\begin{cases}
-x
\text{ if }
x\le1
\\
2x+1
\text{ if }
x\gt1
.\end{cases}$