Given:
Total number of cubes = 40
Red cubes = 18
Blue cubes = 13
Yellow cubes = 9
Aysha adds some more red cubes into the bag.
The probability now that she will take a red cube is 0.5.
To find:
The probability that she will take a yellow cube.
Solution:
Let Aysha adds x red cubes into the bag. Then,
Number of total cubes = 40+x
Number of red cubes = 18+x
Probability of getting a red cube is:
![P(Red)=(18+x)/(40+x)](https://img.qammunity.org/2022/formulas/mathematics/college/5jsyfhtkdataenn28u7payshgnazpkahge.png)
The probability now that she will take a red cube is 0.5. So,
![(18+x)/(40+x)=0.5](https://img.qammunity.org/2022/formulas/mathematics/college/h0x7n1rcootje3cf6fypoldai9i0stn3kw.png)
![18+x=0.5(40+x)](https://img.qammunity.org/2022/formulas/mathematics/college/m71ufybdenef1o22bmkcpmg0d5ksezsftl.png)
![18+x=20+0.5x](https://img.qammunity.org/2022/formulas/mathematics/college/y0vi664prpf0qqxej152c7d0kpuln0u063.png)
![x-0.5x=20-18](https://img.qammunity.org/2022/formulas/mathematics/college/hvr1kooj3vvmjh7g0bqh51o1h0fl0qlnjc.png)
![0.5x=2](https://img.qammunity.org/2022/formulas/mathematics/college/4c1q0my4uly3m4lscy1uu98b6iq0yy9ocv.png)
Divide both sides by 0.5.
![x=(2)/(0.5)](https://img.qammunity.org/2022/formulas/mathematics/college/c7qrdhtc9xhwg7apzhyxa3mx4sckn3vm5n.png)
![x=4](https://img.qammunity.org/2022/formulas/mathematics/high-school/lp82zoco0xlpxlhep3s8xzw5somhig1a8c.png)
It means Aysha adds 4 more red cubes into the bag.
Now, the total number of cubes int he bag is:
![40+4=44](https://img.qammunity.org/2022/formulas/mathematics/college/5s0bxkhyswn604zgmivtf7em98wicuhl5k.png)
Probability of getting a yellow cube is:
![P(Yellow)=\frac{\text{Number of yellow cubes}}{\text{Total number of cubes}}](https://img.qammunity.org/2022/formulas/mathematics/college/x53jh4gzgqphuuej49qhv32nlc3pmfxayv.png)
![P(Yellow)=(9)/(44)](https://img.qammunity.org/2022/formulas/mathematics/college/f0j83fgcikltkyxzlm4qpizusurgt0aho4.png)
Therefore, the required probability is
.