contestada

There are two compounds of gold and chlorine. In one compound, there is 15.39 g of gold for every 2.77 g of chlorine. In the other compound, there is 7.74 g of gold for every 4.18 g of chlorine.

Find the ratio of masses of gold in the two compounds (give in 'y:x' format)
The answer is 3:1 so whoever this helps