empirical formula step by step