Question: Kekai is running a sundae booth at the carnival. On Monday, he makes a total of 40 sundaes, and he puts 6 m&ms on each sundae. On Tuesday, he makes a total of 20 sundaes, and he puts 10 m&ms on each sundae. If each m&m pack contains 40 m&ms, how many m&m packs does Kekai use?
Answer: On Monday, Kekai uses 40 * 6 = 240 m&ms. On Tuesday, Kekai uses 20 * 10 = 200 m&ms. Kekai uses a total of 240 + 200 = 440 m&ms. Kekai uses a 440 / 40 = 11 m&m packs. The answer is 11.
[Question]Mark went to a store where he spent one-half of his money, and then spent $14 more. He then went to another store where he spent one-third of his starting money, and then spent $16 more. If he then had no money left, how much did he have when he entered the first store?
[Answer]Let X be the money Mark had. Mark spent 1 / 2 * X + 14 in the first store and 1 / 3 * X + 16 in the second store. Mark has X - 1 / 2 * X - 14 - 1 / 3 * X - 16 = $0 left. Combining like terms, we get 1 / 6 * X - 30 = $0. Adding 30 to both sides and multiplying both sides by 6, we find that Mark had X = $180 when he entered the first store. The answer is 180.
Q: Miggy's mom brought home 3 bags of birthday hats. Each bag has 15 hats. Miggy accidentally tore off 5 hats. During the party, only 25 hats were used. How many hats were unused?
A: There are a total of 15 x 3 = 45 hats in 3 bags. Since 5 tore off, only 45 - 5 = 40 hats were left. Thus, 40 - 25 = 15 hats were unused. The answer is 15.
Question: The fisherman gets 8 Red snappers and 14 Tunas every day. If a Red snapper costs $3 and a Tuna costs $2, how much does he earn every day?
Answer: The fisherman earns $3 x 8 = $24 per day on Red snappers. He earns $2 x 14 = $28 per day on Tunas. Therefore, the total amount he earns is $24 + $28 = $52. The answer is 52.
[Question]One logger can cut down 6 trees per day. The forest is a rectangle measuring 4 miles by 6 miles, and each square mile has 600 trees. If there are 30 days in each month, how many months will it take 8 loggers to cut down all the trees?
[Answer]First find the total area of the forest: 4 miles * 6 miles = 24 square miles. Then find the total number of trees in that area: 600 trees / square mile * 24 square miles = 14400 trees. Then find the number of trees all the loggers can cut down in one day: 8 loggers * 6 trees / logger = 48 trees. Then divide the total number of trees by the number cut down per day to find the number of days it takes to clear the forest: 14400 trees / 48 trees / day = 300 days. Then divide the time in days by the number of days per month to find the time in months: 300 days / 30 days / month = 10 months. The answer is 10.
[Question]Jamie collects glass balls. He had 16 red balls and two times more blue balls. Later on, he lost 6 of the red balls, so he decided to buy some yellow balls to fill up his collection. How many yellow balls did he buy if, after all, he had 74 balls in total?
[Answer]

Show your work and conclude with the exact phrasing "Therefore, the final answer is [answer]." where [answer] is just the final number or expression that solves the problem.
user
Jamie had two times more blue balls than red ones, so he had 2 blue / red * 16 red balls = 32 blue balls. He lost 6 red balls so he had only 16 red balls - 6 red balls = 10 red balls. In total he had 32 blue balls + 10 red balls = 42 red and blue balls. He bought 74 balls - 42 red and blue balls = 32 yellow balls. The answer is 32.