If a sample of MgCl2 is known to contain 0.100 moles of Mg ions, how many moles of Cl ions are in the salt sample?

The formula tells you that there are twice as many Cl as Mg.