Pre-calc, Which statement correctly uses limits to determine a vertical asymptote of _____ (image attached)

Answer:
Option D
Step-by-step explanation:
Given the function [tex]g(x)=\frac{-7(x-5)^2(x+6)}{(x-5)(x+5)}[/tex], we see that [tex](x-5)[/tex] appears in both the numerator and denominator which cancel out to be [tex]\frac{-7(x-5)(x+6)}{(x+5)}[/tex]. This means that there's a vertical asymptote at [tex]x=-5[/tex] for the denominator to be 0.
Additionally, the limit of the function g(x) as x approaches -5 from the left side is -∞. The limit of the function g(x) as x approaches -5 from the right side is ∞. See the attached graph for a visual of these limits.
In conclusion, option D is correct.