The answer is: There are 3.42 moles of MgCl2 in 326g of the compound.
Assuming that the compound is MgCl2, we can find how many moles of the compound are in 326 g of the same compound, calculating the molar mass of the compound, so:
[tex]Mg=24.305\frac{g}{mol}\\\\Cl=35.45\frac{g}{mol}[/tex]
Then,
[tex]MgCl2MolarMass=24.305+(2*35.45)=95.21\frac{g}{mol}[/tex]
Therefore, to calculate how many moles are in 326 of the compound, we can use the following equation
[tex]Moles=\frac{mass}{molarmass} =\frac{326g}{95.21\frac{g}{mol}}=3.42molesMgCl2[/tex]
Hence,
There are 3.42 moles of MgCl2 in 326g of the compound.
Have a nice day!