The result is x^2 +x +4 -21/(x+3).
_____
Polynomial long division tends to be easier than numerical long division because the quotient term never needs adjustment. It is always the ratio of the highest degree terms of the dividend and divisor.
See the attachment for the intermediate steps.