Answer
See graph.
Work Step by Step
Step 1. Graph $f(x)=2x$ with $-5\le x\lt-1$ as shown in the figure (red curve).
Step 2. Graph $f(x)=-2$ with $-1\le x\lt0$ as shown in the figure (blue line).
Step 3. Graph $f(x)=x^2-2$ with $0\le x\le2$ as shown in the figure (green curve).