These are dissolved in water to form colourless solutions, and then mixed together. This mixing leads to a double displacement reaction, essentially resulting in the metals 'swapping' their places in the two compounds, producing lead (II) iodide, and potassium nitrate.
When sodium amide i.e.
reacts with water i.e.
results in the formation of sodium hydroxide i.e.
and ammonia
.
The chemical reaction is given by:

Now, when ammonia i.e.
reacts with water results in the formation of ammonium hydroxide i.e. 
The chemical reaction is given by:

Thus, the products of the above reactions are ammonia and ammonium hydroxide (without sodium ion).
The structures of the products are shown in figure (1): ammonium hydroxide and figure (2) ammonia.
<span>The nitartion of methyl benzoate is expected to proceed as given in the equation below:
</span>
In methyl benzoate there are 3 types of 1 H proton. The two ortho to the C=O group is a doublet at 8 ppm the 2 metal to the C=O is a multiple at 7.5 ppm and one para to the C=O is a multiplet at 7.5 ppm.
On nitration the ortho will probably show two signal one being a single with 3 proton integration and one a doublet with 1 H integration
The meta will show a highly down field singlet (coresponding to 1 proton), two unequal doublets (corresponding to 1 H each) and one multiplets (corresponding to 1H). This is the major product as seen from the 1H NMR.
The para isomer will come as two doublets which will be very close to each other there is a small signal for this set between 8.2 and 8.3 ppm.