We know, 1 litre = 1000 ml
So, total quanitity of juice = 9000 + 500 = 9500 ml
Number of glasses of 100 ml filled = 45.
Remaining amount of cold drink = 9500 - (45 × 100 ) = 9500 - 4500 = 5000 ml.
Number of 125ml glasses that can be filled with 5000 ml = 5000 ÷ 125 = 40.
Hence, 40 glasses of 125 ml can be filled.