x^2 + 2x + 7
x + 5 [ x^3 + 7x^2 + 17x + 41 ]
x^3 + 5x^2
__________________________
2x^2 + 17x
2x^2 + 10x
__________________
7x + 41
7x + 35
_________
6
So ..... x^2 + 2x + 7 R 6 / [ x + 5 ]
2x^2 - 5x + 7
x - 3 [ 2x^3 - 11x^2 + 22x - 25 ]
2x^3 - 6x^2
________________________
-5x^2 + 22x
-5x^2 + 15x
__________________
7x - 25
7x - 21
_________
- 4
So.... 2x^2 - 5x + 7 R -4 / [ x - 3 ]