A rectangular pyramid fits exactly on top of a rectangular prism. The prism has a length of 12 cm, a width of 6 cm , and a height of 8 cm. The pyramid has a height of 10 cm Find the volume of the composite figure.