can someone pls help with both of these. WILL MARK BRAINLIEST

Answer:
The first one is : B. 12
The second one is: B. 4
Step-by-step explanation:
1 Explained:
12 * 3 = 36
36 - 24 = 12
Therefore if he had taken 3 times as many he would have had 36. And 36 is 24 more than 12.
2 Explained:
blue + green + yellow = 240
120 + 40= 160
240 - 160= 80
Yellow= 80
120/20= 6
40/20= 2
80/20= 4
6 blue
2 green
4 yellow
12 in total.