The dimensions of the prism will be 2.5 inches by 2.5 inches by 8 inches.

The volume of the prism is 40 cubic inches.

WRONG!!

I believe (2.5)(2.5)(8) = 50 , not 40