I need help. Thank you.

Answer:
27
Step-by-step explanation:
green is 30%
blue is 50%
red is 6 marbles which when calculated is equal to 20%
blue would then be 15 marbles as the whole 100% would equal to 30 marbles
if 40% is added which is also 12 marbles then 15+12 = 27