Simplify 5x^2+3x^2-x^3+2x^3+10x^4-5x^4