Write the formula of the ionic compound formed from each pair of cations and anions.

Barium and phosphate
Magnesium and bisulfite
Strontium and cyanide

1. Barium phosphate: Ba3(PO4)2

2. Magnesium bisulfite: Mg(HSO3)2
3. Strontium cyanide: Sr(CN)2