Given polynomials are
p(x)=x4-3x2+4x+5
g(x)=x2+1-x
Here, dividend already in the standard form and the divisor is not in the standard form. it can be written as x2-x+1
So, we have
The quotient is 2+x- and the remainder is +