Simplify 10d-3d+2e+4d