@TedShifrin And also something else.. How do we get from this relation: $I_P(x^5+x^4+y^2,x^4)+I_P(x^5+x^4+y^2,x^2-2x-1)$ to this one:
$I_P(x^5+x^4+y^2,x^4)$ ?
$I_P(x^5+x^4+y^2,x^6-x^5+y^2)\\
=I_P(x^5+x^4+y^2,(x^6-x^5+y^2)-(x^5+x^4+y^2))\\
=I_P(x^5+x^4+y^2,x^4 (x^2-2x-1))\\
=I_P(x^5+x^4+y^2,x^4)+I_P(x^5+x^4+y^2,x^2-2x-1)\\
=I_P(x^5+x^4+y^2,x^4)\\
=I_P(y^2,x^4)\\
=2 \cdot 4 \cdot I_P(y,x)\\
=8$