The side of the rectangular image corresponds to the height of the original can.
The height is equal to 4.8 inches, so the side is equal to 4.8 inches.
The bottom of the rectangular image corresponds to the circumference of the base.
If the base diameter is 2.5 inches, the base circumference is:
So the bottom is equal to 7.85 inches.
The lid part corresponds to the radius of the base, which is half the diameter.
So the lid is equal to 1.25 inches.
The base part corresponds to the circumference of the base, so the base is equal to 7.85 inches.