This rectangular prism was built with cubes that each have a volume of one cubic centimeter.

What is the volume of the rectangular prism?