P(Red transferred and red drawn or black transferred and red drawn) =38×711+58×611=5188.
Alternative: Let E: the ball drawn from second bag is red, E1 : red ball is transferred from first bag and E2: black ball is transferred from first bag.
∴P(E1)=38,P(E2)=58,P(E|E1)=711,P(E|E2)=611
So, P(E)=P(E1)P(E|E1)+P(E2)P(E|E2)=38×711+58×611=5188