To find horizontal asymptote you take the limit to infinity.

I'll the first 1 as an example

now divide by the largest degree of the polynomial in the denominator

so you end up with 3 when taking the limit to infinity.

You could also use L'Hopital rule