Bag X contains 4 white balls and 2 black balls , Bag Y contains 3 white balls and 3 black balls.
Number of ways of selecting 1 white ball and 1 black ball from bag X is 4 × 2 = 8 ways.
Number of ways of selecting 1 white ball and 1 black ball from bag Y is 3 × 3 = 9 ways.
Total number of ways is 8 + 9 = 17.
The probability that the balls are drawn from bag Y is 9/17.