The following is a solved sample problem in a Persian book. The answer of the book is very confusing and used lots of events. I tried to find an easier approach to solve it, but seems like a dead end.
Suppose we have 2 boxes; A and B. Box A contains 3 white balls and 4 red balls. Box B has 3 red balls and 2 white balls. We randomly choose one of the boxes and pick a random ball out of it, then we put it into the other box. After that, we pick 2 balls out of the later box (in which we have just put a ball inside of it) randomly. What is the probability that we have transferred a red ball in the first move, given that the later 2 balls are white?
Here's the answer provided by the book:
$W_i$ is event of picking a white ball from box $i$ on the first move
$R_i$ is event of picking a red ball from box $i$ on the first move
$WW_i$ is event of picking two white balls from box $i$ on the second move
$A$ is event of picking from box A on first move
$B$ is event of picking from box B on first move
$D$ is the event that we are looking for
Then,
$P(D) = P(A∩D) + P(B∩D)=P(A)*P(D|A)+P(B)*P(D|B)$
where
$P(A)=P(B)= \frac{1}{2}$
and
$$P(D|A) = P(R_A|WW_B) = \frac{P(R_A)*P(WW_B|R_A)}{P(R_A)*P(WW_B|R_A)+P(W_A)*P(WW_B|W_A)}$$
$$= \frac{\frac{4}{7}*\frac{\binom{2}{2}}{\binom{6}{2}}}{\frac{4}{7}*\frac{\binom{2}{2}}{\binom{6}{2}}+\frac{3}{7}*\frac{\binom{3}{2}}{\binom{6}{2}}}=\frac{4}{13}$$
also $$P(D|B) = P(R_B|WW_A) = \frac{P(R_B)*P(WW_A|R_B)}{P(R_B)*P(WW_A|R_B)+P(W_B)*P(WW_A|W_B)}$$ $$= \frac{\frac{3}{5}*\frac{\binom{3}{2}}{\binom{8}{2}}}{\frac{3}{5}*\frac{\binom{3}{2}}{\binom{8}{2}}+\frac{2}{5}*\frac{\binom{4}{2}}{\binom{8}{2}}}=\frac{9}{21}$$
therfore
$P(D) = \frac{1}{2}*\frac{4}{13}+\frac{1}{2}*\frac{9}{21}=\frac{201}{546}=\frac{67}{182}$