Answer
$\displaystyle \lim_{x\rightarrow 2}g(x)=5$
Work Step by Step
THEOREM 2.5 The Squeeze Theorem:
Assume the functions $f,g,$ and $h$ satisfy $f(x)\leq g(x)\leq h(x)$
for all values of $x$ near $a,$ except possibly at $a$ .
If $\displaystyle \lim_{x\rightarrow a}f(x)=\lim_{x\rightarrow a}h(x)=L,$ then $\displaystyle \lim_{x\rightarrow a}g(x)=L$
---
By the squeeze theorem, $\displaystyle \lim_{x\rightarrow 2}g(x)=5$