The expression can be written in simplified form as:

x+2 occurs in both numerator and denominator. This means there is a hole at x=-2, this can also be seen from the graph.
So, the vertical asymtptote will occur at the point where:
x+5=0
⇒
x = -5
So, option A gives the correct equation of the vertical asymptote of the function