This question was asked in Ex 2.3,3

Divide p(x) by g(x) using long division meathod where p(x)=x+3x^2-1 and g(x)=1+x.

Bhavani Makesh's image