Given
To find the vertical asymptote and the horizontal asymptote.
Now,
The given function is,
Taking LCM on the RHS implies,
The denominator of the function f(x) is the vertical asymptote.
That is,
Hence, x=7 is the vertical asymptote.
Since the degree of the numerator is equal to the degree of the denominator then, the horizontal asymptote is the ratio of the coeffcient of x in the numerator to the ratio of the coefficient of x in the denominator.
That implies,
Hence, the horizontal asymptote is y=2.