A cube-shaped box has a volume of 27 cubic inches. Bethany says each side of the cube measures 9 inches because 9 × 3 = 27. Is Bethany correct? Explain your reasoning.