The two volumes add up to twice the average. The fuller bottle is 4 units; the other is 1 unit, so 5 units in all.
Plain numbers are given; italic underlined numbers are worked out.
The bottle with more water has 1000 ml and the bottle with less water has 250 ml.
Check: (1000 + 250) ÷ 2 = 625 ml and 1000 = 4 × 250. ✓