Solution:
Let us first suppose that the events denoted by are the occurrences in which a red ball is transferred from bag I to bag II. In addition, denotes the occurrence in which a black ball is transported from bag I to bag II.
And,
Let be the event that the drawn ball is red when red ball is transferred from bag I to II,
And, when black ball is transferred from bag I to II,
Hence,