An unknown gas X has a density of 2.82 g dm-3 at STP. A 4.00 g sample of X was combusted in excess oxygen to produce 2.50 g of hydrogen fluoride and 2.84 dm3 of carbon dioxide at STP.
Determine the following for X:
a. molar mass
b. empirical formula
c. molecular formula