so the model on the left-hand-side has a volume of 16 in³ + 20 in³, or 36 in³.
now, the other two fellows on the right-hand-side, we know also have the same volume which has to be a combined of 36 in³ then, so 24 + x = 36.
surely you know how much "x" is.