Simplify -2d(d^3c^2-4dc^2+2d^2c)+c^2(dc^2-3d^4)