Expand X(X+Y)^2(X+Y+Z)^3