Answer
See graph
Work Step by Step
We are given the function:
$f(x)=\begin{cases}
2x-2,\text{ }x<0\\
x,\text{ }x\geq 0\end{cases}$
The above function is a piecewise-defined function. We graph each subfunction on the corresponding intervals: