The volume of a rectangular pyramid is
V = (1/3) A*h
where
A = the area of the rectangular base
h = the height
The two pyramids are congruent in volume.
The volume of one pyramid is
(1/3)*(2*7.5)*(6) = 11
The volume of the composite figure is 2*11 = 22
Answer: 22