To calculate the volume of a rectangular prism you have to multiply the length by the width by the height, the formula is
The given prism has the following measures:
Replace the formula of the volume with the measures of the prism
Note that the sides have the same length, so if you multiply 2/5 by 2/5 by 2/5 is the same as calculating (2/5)³
Then
The volume of the prism is 8/125 cm³, you can express it as a decimal value as 0.064 cm³