Volume of Combined Solids

A solid made from two boxes holds what the two boxes hold — provided no cube is counted twice.