You can put this solution on YOUR website! solution
x-1|x^4 - 2 |x^3 + x^2 + x^1 + 1
x^4 - x^3
do subtraction
(changing the sign)
____________
x^3 -2
x^3 - x^2
do subtraction
(changing the sign)
____________
x^2 -2
x^2 -x
do subtraction
(changing the sign)
____________
x -2
x -1
do subtraction
(changing the sign)
____________
-1
so the quotient is x^3 +x^2+x+1 and remainder is -1