To write a chemical formula
you must use this steps. The valencies or charges on the ion must balance. When a compound consists of a metal and non metal the name or symbol of the metal should be written first. In compounds formed with polyatomic ions ,, the ions is enclosed inna bracket before writing the number to indicate the ratio.
Please mark it brainiest answer