You can put this solution on YOUR website! use synthetic division to find the quotient and remainder
(x^3+4x^2+x-2)/(x+1)
-------------------
-1)....1....4....1....-2
.........1....3...-2...|..0
-------------------------------
Remainder: zero
Quotient: x^2+3x-2
============================
Cheers,
Stan H.