So for Q24. The answer is really similar to another question you have posted involving balls in a bag without replacement. You can consider the cases. What is involved here is multihypergeometric distribution.
If you understand the binomial distribution then you should be able to understand how...