a. The probability that all the marbles are red is calculated as follows:
(7 choose 3) / (18 choose 3) = (35 / (816)) = 0.0429
So, the probability that all the marbles are red is 0.0429, rounded to 4 decimal places.
b. The probability that none of the marbles are red is calculated as follows:
(12 choose 3) / (18 choose 3) = (220 / 816) = 0.2696
So, the probability that none of the marbles are red is 0.2696, rounded to 4 decimal places.