I’m assuming you mean 5g of magnesium :)
The name of the positively charged nonmetal ion is changed to end in –ide, is not true of binary compounds.
Hope this help!
1,516.31168 grams of Magnesium Hydroxide
A mineral is a naturally occurring, inorganic solid with a definite chemical composition and a crystalline structure formed by geological processes. A rock is an aggregate of one or more minerals whereas a rock may also include organic remains and mineraloids.