px−qx2+2x+13x3+x2+2x+63x3+6x2+3x––––––––––––––––2−5x2−x+5−5x2−10x−5–––––––––––––––––9x+10
3,5
3x−5x2+2x+13x3+x2+2x+63x3+6x2+3x––––––––––––––––2−5x2−x+6−5x2−10x−5–––––––––––––––––9x+11
From the given division algorithm we see that p = 3 and q = 5