Calculus with Applications (10th Edition)

The answer is D, because when $x=-1$, $3^{-x}=3^1=3$ so $y=3$. And also when $x=0$, $3^{-x} = 3^0=1$ so $y=1$.