If you don't care if the balls from the first pair are equal or not, you just want that pair1/bag1=pair2/bag1 and pair1/bag2=pair2/bag2, your answer is correct. The odds are 0.0001 (0.01%).
and pair1/bag1=pair2/bag1 and pair1/bag2=pair2/bag2, then you will need to multiply another time, and the correct answer will be 0.000001 (0.0001%).