Suppose the elements x and y combine to form two compounds xy2 and x3y2. When 0.1 mole of xy2 weighs 10 g and 0.05 mole of x3y2 weighs 9 g, What are the atomic weights of x and y respectively?