The atomic number of chlorine is 17. the atomic number of magnesium is 12. what is the formula for magnesium chloride?