one ball is drawn from each bag that means there are two balls and the questions if the both balls are red then it becomes 3/8+6/10 because For drawing a red ball from first back the probability becomes 3/8 and from second bag the probability becomes 6/10. Similarly the second case will be.
And in the case of second both are black then the probability becomes 5/8+4/10