Matt and Mindy each built a rectangular prism that has a lenth of 5 units, a width of 2 units, and a height of 4 units. Matt use cubes that are 1 cm on each side. Mindy used cubes that are 1 inch on each side. What is the volume of each prism?