Hello, Raphael,
Molarity is defined as moles per liter. We have 2.5 liters of solution, so we need to find the number of moles of Yb2(SO4)3 contained in 324 g of the substance. Moles are calculated by dividing the mass by the molar mass of Yb2(SO4)3 (g/mole). Add the atomic weights of each of the atoms in the compound. I get 634.3 g/mole, but check my math.
Moles Yb2(SO4)3 = 324g/(634.3 g/mole) = 0.519 moles
Convert this into Molarity by dividing the moles by the volume.
0.519 moles/2.5 Liters = 0.208 moles/liter, or Molar
Bob