The M&M bag has
R: 178 red colored candy
B: 154 blue colored candy
Y: 122 yellow colored candy
G: 93 green colored candy
The total number of candies in the bag are
![178+154+122+93=547](https://img.qammunity.org/2023/formulas/mathematics/college/ijyc40y5vx2e45fwt9n27a9x0ap4670dlq.png)
To calculate the probability for each colour you have to divide the number of candies of each colour by the total number of candies in the bag
![P(R)=(178)/(547)](https://img.qammunity.org/2023/formulas/mathematics/college/st4i7mc2xxj3z3xvqnlfru46wwswwx6r4e.png)
![P(B)=(154)/(547)](https://img.qammunity.org/2023/formulas/mathematics/college/r5gw5jtyogz5k85qojirai1qrr3y28s312.png)
![P(Y)=(122)/(547)](https://img.qammunity.org/2023/formulas/mathematics/college/41ib4m4dwquayhyshr0fbm1yku63pml08k.png)
![P(G)=(93)/(547)](https://img.qammunity.org/2023/formulas/mathematics/college/e6jcnlekykcrukbfvwmvtbf3jrql1zhn0q.png)
You have to calculate the probability of chosing three yellow candies:
![P(Y_{}\cap Y\cap Y)=P(Y)\cdot P(Y)\cdot P(Y)=3P(Y)=3\cdot((122)/(547))=(366)/(547)](https://img.qammunity.org/2023/formulas/mathematics/college/frjica9wc0kcbwms6ztcu182m0piey5ngt.png)
As percent
![(366)/(547)\cdot100=66.91](https://img.qammunity.org/2023/formulas/mathematics/college/b7rm2hye7rltnultz497e55pua5klarqt9.png)
It is 66.91%