First find molar mass of NH_3
[tex]\\ \tt\longmapsto NH_3[/tex]
[tex]\\ \tt\longmapsto 14g/mol+3(1g/mol)[/tex]
[tex]\\ \tt\longmapsto 14+3[/tex]
[tex]\\ \tt\longmapsto 17g/mol[/tex]
[tex]\\ \tt\longmapsto No\:of\;moles=\dfrac{Given\:mass}{Molar\;mass}[/tex]
[tex]\\ \tt\longmapsto Given\:mass=No\:of\:moles\times Molar\:mass[/tex]
[tex]\\ \tt\longmapsto Given\:mass=2.5(17)[/tex]
[tex]\\ \tt\longmapsto Given\:mass=42.5g[/tex]