The molecular formula of water and ammonia is [tex]H_2O[/tex] and [tex]NH_3[/tex] respectively.
From the atomic symbol of water it is clear that 1 mole of water contains 2 moles of hydrogen.
So, [tex]4.20\times 10^{25}[/tex] molecules of water contains [tex]2\times 4.20\times 10^{25} = 8.40\times 10^{25}[/tex] atoms of hydrogen.
From the atomic symbol of ammonia it is clear that 1 mole of ammonia contains 3 moles of hydrogen.
So, [tex]6.20\times 10^{24}[/tex] molecules of ammonia contains [tex]3\times 6.20\times 10^{24} = 18.6\times 10^{24}[/tex] atoms of hydrogen.
Total number of hydrogen atoms present in the solution = number of hydrogen atoms in water + number of hydrogen atoms in ammonia.
Substituting the values,
Total number of hydrogen atoms present in the solution = [tex]8.40\times 10^{25}+1.86\times 10^{25}[/tex]
Total number of hydrogen atoms present in the solution = [tex]10.26\times 10^{25} atoms[/tex].
Hence, the total number of hydrogen atoms present in the solution is [tex]10.26\times 10^{25}[/tex] atoms.