No, because hydrogen isn’t brought out of the equation
The correct question is as follows:
How do you convert from grams to moles of a substance
1. Divide by the molar mass
2. Subtract the molar mass
3. Add the molar mass
4. Multiple by the molar mass
Answer: In order to convert from grams to moles of a substance divide by the molar mass.
Explanation:
The number of moles of a substance is the mass of substance in grams divided by its molar mass.
The formula to calculate moles is as follows.

This means that grams are converted to moles when grams is divided by molar mass.
Thus, we can conclude that in order to convert from grams to moles of a substance divide by the molar mass.
D) burning magnesium ribbon, as combustion is a chemical reaction so causes chemical change. The other 3 options do not involve reactions so there isn't a chemical change.