Answer
$y = -2~sec~\frac{1}{2}x$
We can see the graph below.
Work Step by Step
$y = -2~sec~\frac{1}{2}x$
When $x = -\pi$, then $y = -2~sec~\frac{-\pi}{2}$ (which is undefined)
When $x = 0$, then $y = -2~sec~0 = -2$
When $x = \pi$, then $y = -2~sec~\frac{\pi}{2}$ (which is undefined)
When $x = 2\pi$, then $y = -2~sec~\pi = 2$
When $x = 3\pi$, then $y = -2~sec~\frac{3\pi}{2}$ (which is undefined)
We can see the graph below.