Urn A contains 2 white and 8 red balls, whereas urn B contains 7 white and 2 red balls. A ball is drawn at random from urn A and placed in urn B, after which a ball from urn B was drawn and it happened to be red. What is the probability that the first ball drawn from urn A was also red? Hint: Use the Bayes formula.
I tried to solve
P(White ball from Container A) = 2/10
P(Red ball from Container A) = 8/10