Moles of Hydrogen gas collected : 0.127
Further explanation
The reaction coefficient in a chemical equation shows the mole ratio of the components of the reactants and products
If one mole of the reactant or product is known, then we can determine the moles of the other compounds involved in the reaction
Reaction
Mg(s)+2HCl(aq)⇒H₂(g)+MgCl₂(aq)
mass of Mg=3.09 g
mol Mg (Ar= 24,305 g/mol) :

Magnesium metal reacts with excess Hydrochloric acid, so Mg as a limiting reactant and moles of product is based on moles of Mg
From the equation, moles ratio Mg : H₂ = 1 : 1, so moles H₂ :
