Hey @TedShifrin!!!
Martin told me that we can find the intersection multiplicity like that:
$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$
Could you explain me why we take the difference $(x^6-x^5+y^2)-(x^5+x^4+y^2)$ at the equality:
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))?