Oliver and layla each built a rectangular prism with centimeter cubes. Both prisms have a volume of 24 cubic centimeters, but they do not look the same. Give possible dimensions for each prism.