Note that by that plane, the pyramid is cut into two tetrahedrons with base area 14 and sum of their heights equal to $s=3$. Since the volume of tetrahedron is given by $\displaystyle V=\frac {Sh} 3$ where $S$ is a base area and $h$ is a height from the base to apex, the volume of the pyramid is $$ \frac{14(h_1+h_2)}{3}=\frac{14\times 3}{3}=14. $$