finding the molecular formula