Empirical and Molecular Formulas from Stoichiometry