Multiply.

x^2+x-6 * x^3y
_______ _________
xy^2 x^2+6x+9

retype using brackets and / for division

hard to tell where things go the way it looks now.
(see how I typed fractions in my previous reply to you)