Answer:
There are a total of 6 + 3 + 12 = 21 balls in the basket.
Out of which 3 are red and 12 are yellow.
So, the probability of getting a red ball is 3/21 and the probability of getting a yellow ball is 12/21.
To find the probability of getting either red or yellow we need to add these two probabilities.
So, the probability of getting either a red or yellow ball is (3/21) + (12/21) = 15/21
This can be simplified as 0.71 or 71%. So, the probability of getting either a red or yellow ball is 71%.