15.4 The base of a pyramid is a triangle with sides $3 \mathrm{~cm}, p \mathrm{~cm}$ and $5 \mathrm{~cm}$. If the height and volume of the pyramid are $q \mathrm{~cm}$ and $12 \mathrm{~cm}^{3}$ respectively, find $q$.