5x^4-3x^3y+2xy^3-x^3y+2y^4-7x^2y-2x^3
= 5x^4+(3x^3y-x^3y)+2xy^3+2y^4-7x^2y-2x^3
=5x^4+2x^3y+2xy^3+2y^4-7x^2y-2x^3
\(5x^4-3x^3y+2xy^3-x^3y+2y^4-7x^2y^2-2x^3\)
\(=5x^4+\left(-3x^3y-x^3y\right)+2xy^3+2y^4-7x^2y^2-2x^3\)
\(=5x^4-4x^3y+2xy^3+2y^4-7x^2y^2-2x^3\)