As per given by the question,
There are given that, 9 red marble, 7 blue marbles, and 4 yellow marbles contain in bag.
Now,
From the given bag;
Total number of marble contains in bag is,
9+7+4=20.
Then,
The probability that chosen yellow marble,
![P=\frac{number\text{ of yellow marble in a bag }}{\text{total numbers of marble in a bag}}](https://img.qammunity.org/2023/formulas/mathematics/college/d99dfcrfz0jc6uolar1rzqusx84exax31z.png)
So,'
There are yellow marbles is 4 and total number of marbles is 20 in a bag.
Then, the probability is;
![\begin{gathered} P=\frac{number\text{ of yellow marble in a bag }}{\text{total numbers of marble in a bag}} \\ P=(4)/(20) \\ P=(1)/(5) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/3pkcdgybjdtcljienxs9xg5bbf4rgtna42.png)
Now,
The probability that it is not yellow;
So,
![\begin{gathered} P(\text{not yellow)=1-probability(yellow)} \\ P(\text{not yellow)=}1-(1)/(5) \\ P(\text{not yellow)=}(5-1)/(5) \\ P(\text{not yellow)=}(4)/(5) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/ggnobr11l4mo1v4cdpizwiqud9gqdyxytn.png)
The probability that it is not a yellow marble is,
![(4)/(5)](https://img.qammunity.org/2023/formulas/mathematics/high-school/svm48olph5an1udemt4a3hvizqbjvb4y4g.png)
Hence, the option D is correct, that means
![\text{option (D)=}(4)/(5)](https://img.qammunity.org/2023/formulas/mathematics/college/fgkkpcqtopzogb8y1wshq4hue13cnsgpkj.png)