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