Answer:
9375
Step-by-step explanation:
Given,
Candy maker put prizes in 600 bags of candy.
Let x be the bags having no prize,
So, the total number of bags of candies = x + 600
Thus, the ratio of candies bag with price and total bags = 
∵ Out of 125 bags, 8 bags have price.
i.e. the ratio of the candies bag with price and total bags = 




Hence, the total number of bags of candies = x + 600 = 8775 + 600 = 9375