You should graph this function, you will see that it is supposed to have a vertical asymptote at y = 0 and a horizontal one at x = 1 . If you look at the infinite limit you can split it up using the common denominator:

This is equivalent to the function you had before. Take the limits at infinity and zero of that and you will get a different answer for the horizontal asymptote.