Cube Net

What is the volume of a rectangular prism when the net is given below?

5 cm8 cm10 cm

A. $400\rm \ cm^3$
B. $800\rm \ cm^3$
C. $80\rm \ cm^3$
D. $40\rm \ cm^3$
E. $340\rm \ cm^3$