Q: Sue works in a factory and every 30 minutes, a machine she oversees produces 30 cans of soda. How many cans of soda can one machine produce in 8 hours?
A: Since there are 2 sets of 30 minutes in an hour, then in 8 hours there are 8 x 2 = 16 sets of 30 minutes. Hence, a machine that Sue oversees can produce 30 cans x 16 = 480 cans of soda in 8 hours. The answer is 480.
Question: Mike is building a bridge out of LEGO blocks. To be successful he needs at least 40 bricks of type A, and half that many of type B. In total, he needs to use 150 bricks. How many bricks of other types than mentioned is he going to use?
Answer: Mike is using 40 blocks / 2 = 20 blocks of type B. He uses in total 40 blocks + 20 blocks = 60 blocks of type A and B. So he is going to use 150 blocks - 60 blocks = 90 blocks of other types. The answer is 90.
[Question]There were 100 jelly beans in a bag to be given away on Halloween. Out of the 40 children taking part in the Halloween celebration, 80% were allowed to draw jelly beans from the bag. Each child drew two jelly beans out of the bag. How many jelly beans remained in the bag after the children took their share?
[Answer]Out of the 40 children taking part in the Halloween celebration, 80% were allowed to draw jelly beans from the bag, a total of 80 / 100 * 40 = 32 children. If each of the 32 children drew two jelly beans out of the bag, they drew a total of 32 * 2 = 64 jelly beans from the bag. The total number of jelly beans that remained is 100 - 64 = 36. The answer is 36.
Q: John buys a heating pad for $30. He uses it 3 times a week for 2 weeks. How much does he spend on each use?
A: He uses it 3 * 2 = 6 times. So he pays 30 / 6 = $5. The answer is 5.
Question: When Betty makes cheesecake, she sweetens it with a ratio of one part sugar to four parts cream cheese, and she flavors it with one teaspoon of vanilla for every two cups of cream cheese. For every one teaspoon of vanilla, she uses two eggs. She used two cups of sugar in her latest cheesecake. How many eggs did she use?
Answer: Betty used 2 cups of sugar in her cheesecake, so she used 2 * 1 = 2 times her ratio. Thus, she used 2 * 4 = 8 cups of cream cheese. She uses 1 teaspoon of vanilla for 2 cups of cream cheese, so she used 8 / 2 = 4 teaspoons of vanilla. For each teaspoon of vanilla, she uses 2 eggs, so she used 2 * 4 = 8 eggs. The answer is 8.
Q: Fred has 38 red marbles, half as many green ones, and the rest are dark blue. If he has 63 marbles, how many of them are dark blue?
A:

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
Fred has 38 / 2 = 19 green marbles. Fred has 63 - 38 - 19 = 6 dark blue marbles. The answer is 6.