Salim bought a fruitcake, cut off a piece from it, and ate the piece. The dimensions of the cake before and after he cut it, are shown below. What was the volume of the piece that Salim ate?