1. So 27.3 g Fe is 0.4911 mol (27.3 / 55.58). 45.8 g O is 2.862 mol. Because of the stoichiometry, 3/4 as much oxygen as iron gets consumed. For the 0.4911 mol Fe consumed, 0.3683 mol O is consumed. 2.862-0.3863 = 2.4757 mol, or 39.6 g O is left.
2. Hydrogen is the limiting reactant for these quantities. 2/3 as much ammonia is produced as hydrogen is consumed, so for 5.0 mol H2, that's 3.33 mol NH3.
Make sense?