the answer will be
for a it would be 24 children.
for b i don't understand the question. is it saying for each individual person they pick 5 reds to 7 greens or is it the whole group. clarify and i hope this can you.