I've answered an exercise on Stewart's Essential Calculus, he asks me to sketch a graph of an example of a function $f$ that satisfies all of the given conditions below:
$\lim_{x\rightarrow 3^+}f(x)=4$
$\lim_{x\rightarrow 3^-}f(x)=2$
$\lim_{x\rightarrow -2}f(x)=2$
$f(3)=3$
$f(-2)=1$
The plot below is the right answer. In my answer, the line that is passing through $a$ is passing through point $b$. Is my answer acceptable? I can't feel the guarantee that the line is really passing through point $a$ and I'm thinking that both answers are right.