You can put this solution on YOUR website! Vertical asymptotes occur where a function is undefined. What can we not do in a denominator of a rational function???
Divide by zero.
So x-1 cannot be 0 so x cannot be 1. This is where we will have a vertical asymptote. That is to say, x=1 is the vertical asymptote.
Horizontal asymptotes occur due to the limitations of numerator/denominator. In general, if the degree of the numerator is the same as the denominator, the value of the horizontal asymptote will be the coefficient of the highest degreed term in the numerator divided by the highest degreed term of the denominator. This is 2/1=2 for this equation..
That is to say, y=2 is the horizontal asymptote.
Plot: