Probability, balls from boxes Consider two boxes: there are 15 white and 12 black balls in the first box, and 14 white
and 18 black balls in the second box. Anna puts
her hand in the first box, takes at once two balls and places them in the second box. Then,
she takes one ball wihout looking from the second box.

Knowing that she took a black ball from the second box, what is the probability that
  she transferred two balls of different colors from the first box to the second box?

I tried using Bayes Theorem:
X:=transfer 2 colours
Y:= pick black from the 2nd box
$P(X|Y)=\frac{P(Y|X)(P(X)}{P(Y)}$
with
$P(X)=\frac{(15,2)(12,0)}{(27,2)}+\frac{(15,0)(12,2)}{(27,2)}$
$P(Y)=\frac{18}{32}$
$P(Y|X)=\frac{18}{34}+\frac{20}{34}$
Does this work like this?

HINT  
I would say
$P(X) = \frac{20}{39}$ (see colleagues 'calculus' comment)
$P(Y|X)=\frac{19}{34}$
Knowing that she took a black ball from the second box: $\Rightarrow P(Y)=1$
$ \Rightarrow P(X|Y)=\frac{P(Y|X)P(X)}{P(Y)}=\frac{P(Y|X)P(X)}{1}=\cdots$
