The volume of the triangular prism = [tex]V = (base-area)*height[/tex]
Thus the volume is [tex]\\V = (\frac{1}{2} *3*4) * 7 = 6 * 7 = 42[/tex].
Thus the volume is 42 cubic km.
Hope that helps!