Given:
The function is
To find:
The vertical asymptote of the given function.
Solution:
Vertical asymptote are the vertical line passes thought the values for which the function is not defined.
To find the vertical asymptote, equate the denominator equal to 0.
We have,
Denominator is (x+2).
The vertical asymptote is
.
Therefore, the correct option is B.