If you divide the numerator by the dnominator then you get the term of the asymptote and a remainder which is approaching zero if x approaches infinity. You now have to choose such a remainder. The most simple case is that

Therefore the equation of the function is:

But of course you can choose

Then the function is