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