Answered

a^3+a+a^2+1 2a^2+2ab+ab^2+b^3
------------------------------- * ----------------------------------
a^3+a^2+ab^2+b^2 a^3+a+a^2b+b