Let the events be:
B1 : bag I is selected, B2 : bag II is selected, B3 : bag III is selected.
R : the ball drawn is Red, G : the ball drawn is Green.
Because the person picks a bag at random, P(B1)=P(B2)=P(B3)=31.
Conditional probabilities for drawing a Red ball from the three bags are
P(R∣B1)=103,P(R∣B2)=104,P(R∣B3)=105
1. Total probability of drawing a Red ball (use the law of total probability):
P(R)=P(B1)P(R∣B1)+P(B2)P(R∣B2)+P(B3)P(R∣B3)
=31(103+104+105)=31⋅1012=3012=52−(1)
2. Probability that the Red ball came from bag I (Bayes’ theorem):
p=P(B1∣R)=P(R)P(B1)P(R∣B1)=5231⋅103=101⋅25=41−(2)
Similarly, for Green balls we have the conditional probabilities
P(G∣B1)=105,P(G∣B2)=103,P(G∣B3)=104
3. Total probability of drawing a Green ball:
P(G)=31(105+103+104)=31⋅1012=3012=52−(3)
4. Probability that the Green ball came from bag III:
q=P(B3∣G)=P(G)P(B3)P(G∣B3)=5231⋅104=304⋅25=31−(4)
5. Required expression:
p1+q1=411+311=4+3=7
Therefore, (p1+q1)=7, which corresponds to Option C.