It is given that bag A contains 3 red and 5 black balls and bag B contains 4 red and 4 black balls.
Let E1, E2, E3 and A be the events as defined below:
E1 : Two red balls are transferred from bag A to bag B.
E2 : One red ball and one black ball is transferred from bag A to bag B.
E3 : Two black balls are transferred from bag A to bag B.
A : Ball drawn from bag B is red.
So,
Also,
∴ Required probability
= Probability that two red balls were transferred from A to B given that the ball drawn from bag B is red