After shortening the height of a cuboid by 3cm, it becomes a cube, and the surface area is reduced by 24cm2. What is the volume of the cuboid

After shortening the height of a cuboid by 3cm, it becomes a cube, and the surface area is reduced by 24cm2. What is the volume of the cuboid

24 △ 4 △ 3 = 2 cm (edge length)
Volume = 2 × 2 × (2 + 3) = 20 cc