a. gets 2 blue balls?
No. of ways of picking two blue balls in two draws= 5 x 5 =25 (As he replaces ball after first draw)
No. of ways of picking two balls = 9 x 9 =81
Probability= Favorable cases/Total cases= 25/81
b. gets a blue ball and then a yellow ball?
No. of ways of picking one blue ball and then yellow ball in two draws= 5 x 4 =20 (As he replaces ball after first draw)
No. of ways of picking two balls = 9 x 9 =81
Probability= Favorable cases/Total cases= 20/81
c. gets a yellow ball and then a blue ball?
No. of ways of picking one yellow ball and then a blue ball in two draws= 4 x 5 =20 (As he replaces ball after first draw)
No. of ways of picking two balls = 9 x 9 =81
Probability= Favorable cases/Total cases= 20/81
d. gets only one blue ball?
Gets only one blue ball i.e either in the first draw or in the second draw, so BY or YB these are two cases
favorable cases= 20+20
Total cases= 81
Probability = 40/81
Hope it helps