Write the chemical formula of calcium chloride

Write the chemical formula of calcium chloride.

Valency and symbol of calcium is Ca2+.
Valency and symbol of chloride ion is (Cl1-).
Hence, by interchanging the valencies, the formula of calcium chloride is CaCl2.