Volumes of Cubes or Rectangular Prisms