Write the chemical formula for
A) barium chloride (Ba ion, 2 Cl ion)
B) sodium sulfide (2 Na ion, 1 S ion)