Given
Original cans
Height of 6 inches
Diameter of 4 inches
New boxes
2 inches deep
4 inches wide
Same volume
Procedure
Now let's calculate the volume of the soup cans.

Now let's calculate the volume of the boxes

Now we must equal the volume of the cans and then calculate the height.

The height of the boxes must be equal to 9.42 inches.