The bottom of the pyramid is a rectangle with length and width of 3 and 4 respectively.
One side of the pyramid is perpendicular to the bottom, and the length of this side is 3.
The volume of the four pyramids is 13×3×4×3= 12,
So the answer is: 12.