If each cube in the rectangular prism measures 1 cubic inch, what is the volume of the prism?
A. 40 cubic in
B. 168 cubic in
C. 84 cubic in
D. 144 cubic in