Look at how the formula for volume can be applied to cubes and rectangular prisms, and how the formula can be modified in each case.