A sample of ammonium phosphate contains 3.18 mol of hydrogen atoms

A sample of ammonium phosphate contains 3.18 mol of hydrogen atoms. Calculate the number of moles of

Formula of ammonium sulphate is (NH4)3 PO4
12 mole of H atoms are present in 1 mole (NH4)3 PO4
Therefore 3.18 mole of H atoms are present in 0.265 mole (NH4)3 PO4
1 mole (NH4)3 PO4 contains 4 mole of oxygen atoms
Therefore 0.265 mole (NH4)3 PO4 contains 1.06 mole of oxygen atoms