Answer :
9+5+8+8=30 <-- all balls
The probability of choosing green ball is [tex]\dfrac{5}{30}=\dfrac{1}{6}[/tex]
The probability of choosing yellow ball is [tex]\dfrac{8}{30}=\dfrac{4}{15}[/tex]
So, the probability of choosing green ball and then yellow one is [tex]\dfrac{1}{6}\cdot\dfrac{4}{15}=\dfrac{2}{45}[/tex]
The probability of choosing green ball is [tex]\dfrac{5}{30}=\dfrac{1}{6}[/tex]
The probability of choosing yellow ball is [tex]\dfrac{8}{30}=\dfrac{4}{15}[/tex]
So, the probability of choosing green ball and then yellow one is [tex]\dfrac{1}{6}\cdot\dfrac{4}{15}=\dfrac{2}{45}[/tex]