Use the composition to work out the empirical formula of the compound.
Use the mass spectrum to work out the molecular mass of the compound, and use this along with the empirical formula to work out its molecular formula.
Work out what functional groups are in the compound from its infrared spectrum.
Use the mass spectrum to work out the structure of the molecule using the fragmentation pattern.