Hello!
The answer is: There are 3.42 moles of MgCl2 in 326g of the compound.
Why?
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:
![Mg=24.305(g)/(mol)\\\\Cl=35.45(g)/(mol)](https://img.qammunity.org/2020/formulas/physics/middle-school/ocux4rv92otfi3nu6dgq9i0ywl568wrjj6.png)
Then,
![MgCl2MolarMass=24.305+(2*35.45)=95.21(g)/(mol)](https://img.qammunity.org/2020/formulas/physics/middle-school/ctop6un6butzjeuvwo9e7ldgr75eepiyu8.png)
Therefore, to calculate how many moles are in 326 of the compound, we can use the following equation
![Moles=(mass)/(molarmass) =(326g)/(95.21(g)/(mol))=3.42molesMgCl2](https://img.qammunity.org/2020/formulas/physics/middle-school/8d0ho9csuzxhk2swfa0pvzdqzdkzxvyhfi.png)
Hence,
There are 3.42 moles of MgCl2 in 326g of the compound.
Have a nice day!