Explanation:
A chemical formula is defined as the symbolic representation of atoms present in a compound or molecule which also depicts the ratio in which the elements are combined to each other.
Chemical formula's for the given compounds are as follows.