The law of constant composition - 2 | Ionic and Covalent Compounds

Element X forms 3 different compounds with element Y:

Compound 1: XY6 with 2.82 g of Y per gram of X
Compound 2: XYα with 1.41 g of Y per gram of X
Compound 3: XYβ with 0.94 g of Y per gram of X


What is the numerical value of α and β?

1.412.82 = α6 ⇒ α = 3

0.942.82 = β6 ⇒ β = 2