3x^4 - 3x^3 + x^2 - x + 2
----------------------------------------------
(x+1) | (3x^5 + 0x^4 - 2x^3 + 0x^2 + x - 1)
3x^5 + 3x^4
----------------
- 3x^4 - 2x^3
- 3x^4 - 3x^3
-----------------
x^3 + 0x^2
x^3 + x^2
---------------
- x^2 + x
- x^2 - x
-------------
2x - 1
2x + 2
--------
- 3
With these type of long division, I like to write a 0x^n for wherever theres a space.
I should really learn how to use Latex eh.. XD
edit: hrmm lol it didnt format the way I wanted even though i pressed spacebar......
Maybe someone can post a solution using latex.
Sorry !