Graph the function.
$f(x)=\left\{\begin{array}{ll}
2 x+1 & \text { for } x<1 \\
-2 x+1 & \text { for } x \geq 1
\end{array}\right.$
$f(x)=\left\{\begin{array}{ll}
2 x+1 & \text { for } x<1 \\
-2 x+1 & \text { for } x \geq 1
\end{array}\right.$