Which elements will bond ionically with barium such that the formula would be written as BaX2?

Responses
A Nitrogen, Chlorine, and Sodium
B Chlorine, Iodine, and Fluorine
C Hydrogen, Bromine and Aluminum
D Oxygen and Sulfur

B Chlorine, Iodine, and Fluorine