First things first. We set up the long division problem:
Second things second. We work out the long division until the degree of the remainder is less than the degree of the divisor:
Then we assemble our final answer, putting the remainder over the divisor:
Make it rain.