Using polynomial division
x^2 - 2x + 8
x^2 + 2x - 5 [ x^4 + 0x^3 - x^2 + 3x -7 ]
x^4 +2x^3 - 5x^2
_______________________
-2x^3 + 4x^2 + 3x
-2x^3 - 4x^2 + 10x
___________________
8x^2 - 7x - 7
8x^2 +16x -40
_____________
-23x + 33
Q = x^2 -2x + 8
R = 33 - 23x
