Answer:
It is 80.
Explanation:
50% is half and there are 40 blue gumballs in the bag. If you wanted to know the total, you would double 40 because 40 is 50% of the bag, so you are just adding half of it in to get the whole. When you double it, you get 80.