M = n/V
.5M = n/.100 L
n = .1 L * .5M
n= .05 mols of MgCl2
mass of MgCl2 = .05 mols of MgCl2 * 95.211 grams/ 1 mol of MgCl2
mass of MgCl2 = 4.76 grams
4.76 grams of MgCl2 is needed to make 100 ml of a solution that is .500M, in chloride ion. Bolded = confused