Here is my attempt.
Beginning state:
Bag B : B, B, O
Bag A : R, R, G, V, Y
Final state:
Bag B: B, B, O, + G/V/Y
Bag A: remaining balls
First possible exchange that would have exactly 3 different colors in each bag is:
Move 1: P ( Arjun moves either the green, violet, or yellow ball to...