Using the “Integrate” function to evaluate a multivariable definite integral:

Integrate[ x^2*y + y^2*z, {z,0,2},{y,0,2-z}, {x,0,(2-y-z)/2}]