The volume of a rectangular prism whose length is 5 in, width is 2 in, and height is 4 in is .
The volume of a rectangular prism is 240 cubic centimeters.
A rectangular pyramid has the same length, width, and height as the prism.
What is the volume of the pyramid?