remainder of (3x^3+x^2+7x+1)/(x^2-x+2)