Answer
$\mathrm{See\:the\:graph\:below.}$
The first piece of the given function is represented by red in the graph below, while the second piece with blue.
Work Step by Step
The first part of the graph is composed of a hyperbola while the second represents a straight line.
Graph the function $\ y=\frac{1}{x}\ $ and apply the constraint $\ (-\infty,0).$ After that, graph the second piece of the function $\ y=x\ $ and apply the constraint $\ [0,\infty).$
You may notice that the point $\ x=0\ $ is included in the domain and is represented by the blue filled circle.