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