Hiya every1, plz help me wif this question...

The ratio of the amount of liquid in container A to the amount of liquid in container B is 1:3. When 210ml of liquid in container B is poured into container A, the ratio of the amount of liquid in container A to the amount of liquid in container B becomes 3:2. What is the total amount of liquid in both the containers?