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.
I think it is -14. I inserted 4 as n. I don't know if that's how you do it.
-4(x+10)-6=-3(x-2)
-4x-40-6=-3x+6
-4x-46=-3x+6
-4x-46+46=-3x+6+46
-4x=-3x+52
-4x+3x=-3x+3x+52
-x=52
(-x/-1)=(52/-1)
x=-52