Answer:
The answer to your question is 27 moles
Step-by-step explanation:
Data
moles of H₂ = ?
moles of NH₃ = 18
balanced chemical reaction
 N₂ + 3H₂ ⇒ 2NH₃
Process
To solve this problem use proportions and cross multiplication. Use the coefficients of the balanced reaction.
 3 moles of hydrogen --------------------- 2 moles of ammonia
 x --------------------- 18 moles of ammonia
 x = (18 x 3) / 2
-Simplifying
  x = 54/2
-Result
 x = 27 moles