Let R : Red ball
W : White ball
A : Bag A
B : Bag B
Assuming, selecting bags is of equal probability i.e. \(\frac{1}{2}\)
We want to find P(A|W), i.e. the selected white ball is from bag A
Conclusion: Therefore, the probability of selected white ball is from bag A is \(\frac{1}{5}\)