need help with this math problem

Hey There!
First you would need to factor out the two.
-4x^3/2 = -2x^3
2x^2/2= x^2
12x/2= 6x
6/2= 3
Now we have.
-2x^3+x^2+6x+3 / x+1
We would then factor with polynomial division, and then we should have.
-2(2x^2 - 3x - 3)(x+1) / x+1
We would then cancel out the x+1
Therefore, the answer would be [tex] \boxed{-2(2x^2-3x-3)} [/tex]
Hope this helped!