Integrate x^2*y from x =  0  to 1, y = -1 to 2

Integrate[ x^2*y, {x,0,1}, {y,-1,2} ]

Integrate x^2*y from x = 0 to 1 and y = x to 2x

Integrate[ x^2*y, {x,0,1}, {y,x,2*x}]