Consider the question. With one mighty blow, Maria cracked open the pinata, and candies spilled all over the floor. There were 40 red candies, 20 less than three times as many yellow candies as red candies, and half as many blue candies as yellow candies. If Carlos ate all of the yellow candies, how many candies remained?
 What is the step-by-step reasoning process to arrive at the answer: 90?
Three times the number of red candies is 40 * 3 = 120. So, for yellow candies, there were 20 less than 120 candies, or a total of. 120 - 20 = 100 yellow candies. Half as many blue candies as yellow candies is 100 / 2 = 50 blue candies. If Carlos ate all of the yellow candies, then only the 40 red and 50 blue candies remained for a total of 40 + 50 = 90 candies.