The answer to your question is Mg loses its valence electrons and acquire a positive charge (Mg⁺²).
Explanation:
Valence electrons are important for an element to attach to another one, metals lose these electrons while nonmetals gain electrons to complete the octet rule.
Magnesium is a metal that loses these electrons so when it becomes an ion Magnesium will have a positive charge Mg⁺².
renewable resources are the natural resources which will help to replace the portion got deplete. These resources will fill up the gaps by any recurring processes or any natural process in a finite time.
Most of the renewable resources are part of the earth’s ecosphere and considered as part of the earth's natural environment.
water is technically a renewable resource because it can use over and over but the sustainability of this renewable resource is a question.