Hi Jas A.!
We just need to use dimensional analysis to convert from volume into mass using the concentration as our bridge:
(10. mL MgCl2)(25 mmol MgCl2/1000 mL MgCl2)(1 mol MgCl2/1000 mmol MgCl2)(95.211 g MgCl2/1 mol MgCl2)
mass = 0.024 g MgCl2
Hope this helps!
Cheers