Find the quotient and remainder when x^4-x^2+3x-7 is divided by x^2-3x+8.
The quotient is x^2 + 4x - 3 and the remainder is 3x - 5.