Ansatz:  Q(x) = (ax3 +bx2 + cx + d)   weil nur dann ein Polynom 5. Grades erzeugt wird
                P(x) = ex + f    weil der Grad von P(x) ≤ 1 sein soll
3·x5 + 2·x4 - x3 + 3·x2 - 4·x + 7  =  (ax3 +bx2 + cx + d) • (x2 -2x +1) + ex + f
3·x5 + 2·x4 - x3 + 3·x2 - 4·x + 7
 = a·x5 + (b-2a)·x4 + (a-2b+c)·x3 + (b-2c+d)·x2 + (c-2d+e)·x + d+f
Koeffizientenvergleich ergibt:
a=3 , b-2a = 2 , a-2b+c = -1 , b-2c+d = 3 , c-2d+e = -4 ,  d+f = 7
a = 3  ,  b = 8  , c = 12  , d = 19 ,  e = 22 und  f = -12
→  Q(x) = 3·x3 + 8·x2 + 12·x + 19    und   P(x) = 22·x - 12
Gruß Wolfgang