The balanced chemical reaction is:
N2 + 3H2 = 2NH3
We are given the amount of hydrogen gas to be used in the reaction. This will be the starting point of the calculations.
24.0 mol H2 (2 mol NH3 / 3 mol H2 ) = 16 mol NH3
Therefore, ammonia produced from the reaction given is 16 moles.
Molarity = moles of solute / liters of solution
M = 0.5 / 0.05
M = 10.0 mol/L⁻¹
hope this helps!