Atomic mass of XX = 75
Percentage of XX = 75.8%
Atomic mass of YY = 16
Percentage of YY = (100-75.8)% = 24.2%
Divide each percentage by the correlating mass:
XX - (P_X)/(M_X)=75.8/75~~1PXMX=75.875≈1
YY - (P_Y)/(M_Y)=24.2/75~~1.5PYMY=24.275≈1.5
The ratio of X:Y = 1:1.5X:Y=1:1.5, but you can't have 1/212 an atom in a molecule, so the ratio must be doubled so X:Y=2:3X:Y=2:3.
The empirical formula = X_2Y_3X2Y3
Proof:
For X - "Percentage of mass composition" = ("Mass contributuon")/("Total mass")*100 = (2(75))/(2(75)+3(16))*100 = 75.7575... =75.8%.
For Y - "Percentage of mass composition" = ("Mass contributuon")/("Total mass")*100 = (3(16))/(2(75)+3(16))*100 = 24.2424... =24.2%.