Question: how many atoms are in mg(oh)2?
Answer: In a formula unit of Mg(OH)2, there are one magnesium ion and two hydroxide ions; or one magnesium, two oxygen, and two hydrogen atoms.