The procedure is 3:step grams of i to moles of i to moles of j to grams of j. Where i and j are any of the species in the reaction. Start with an amount (extensive variable) and "convert". The units should guide you so you don't have to figure out whether to multiply or divide.
1 g NA( 1 mole/ 63.01 g NA)(1 mole MN/2 mole HA)( 148.3 g/mole MN) = g of MN
NA is nitric acid, MN is Magnesium nitrate.
Please consider a tutor. Take care.