J.R. S. answered 02/08/19
Ph.D. University Professor with 10+ years Tutoring Experience
Molar mass Mg(OH)2 = 58.32 g/mole
Convert g to moles and then use Avogadro's number to convert moles to molecules (formula units in this case)
1.50 g Mg(OH)2 x 1 mole/58.32 g x 6.02x1023 molecules/mole = 1.55x1022 molecules (formula units)