I got further. The mass of the unknown gas is 12.25g-9.45g=2.8g as there was 0.1mol of it, the gas has a molar mass of 28g/mol, N2 or CO. I can't think of a reaction where two salts react to form CO, so I will guess it's N2.
In the salt mixture there were: 4H, 2O, 2N, 1Cl, and X. As N2 is produced, the salts should be NH4Cl and XNO2 (0.1mol of each) or vice versa (metal chloride and ammonium nitrite). The metal has to be monovalent (as 0.1mol of NO2- and 0.1mol of NH4+ will give 0.1mol of N2).
So, the metal left in the condensate, too (it's n=0.1mol). It's mass is m=9.45-(3.6+3.55)=2.3g, M=23g/mol, it is Na.
NaNO2 and NH4Cl or NaCl and NH4NO2, how to decide which pair was it? Where is the clue that helps me determining between these two?