Question 361867
Use polynomial long division,
<pre>

         3x^2 + (-3x) + 4
        __________________________
 x + 1 | 3x^3 +  0x^2 +   x - 2
      - (3x^3 +  3x^2)
       ---------------
                -3x^2 +   x
             - (-3x^2 +(-3x))
                --------------
                         4x - 2
                      -  4x + 4
                          --------
                             -6
</pre>
.
.
.

{{{highlight((3x^3+x-2)/(x+1)=(3x^2-3x+4)-6/(x+1))}}}