[tex]The\ volume\ of\ pyramids:V=\frac{1}{3}Bh\\---------------------\\\\\#1\ B=12cm^2;\ h=6cm\to V=\frac{1}{3}\cdot12\cdot6=24\ (cm^3)\\\\\#2\ B=9\ cm^2;\ h=4cm\to V=\frac{1}{3}\cdot9\cdot4=12\ (cm^3)\\\\\#3\ B=10cm^2;\ h=3cm\to V=\frac{1}{3}\cdot10\cdot3=10\ (cm^3)\\\\\#4\ B=18cm^2;\ h=2cm\to V=\frac{1}{3}\cdot18\cdot2=12\ (cm^3)\\\\Answer:\boxed{\#3\ and\ \# 4}[/tex]