How to calculate Empirical Formula?