Question

I need to know how to do the algebra for grams of Mg