Atomic mass of F: 19.0 g/mol
Atomic mass of S: 32.1 g/mol
1.18 g F = [1.18 g / 19.0 g / mol] = 0.062 mol F
1 g S = 1 g/ 32.1 g/mol = 0.031 mol S
Divide by 0.031
0.062 mol F / 0.031 = 2 mol F
0.031 mol S / 0.031 = 1 mol S
SF2 Then X = 2
Verification:
F2 = 2*19.0 g = 38 g F
S = 32.1 g
36 gF / 32.1 g S = 1.18 g F / g S
Nh4cl (the oxidation number of N=-3) so it would be the right answer
An ionic compound can be formed through the existence of valency above the compound e.g NH4 which have +3 as it's ionic charge
The reason why it is not considered this is because the material was made in a lab, not through nature, which is what is required to be considered as a true mineral.