For the first reaction
mass of reactants = 1.00728 + 7.0160 = 8.12328 amu
mass of products = 2 × 4.0026 = 8.0052
mass of reactants > mass of products
Hence, the reaction is exothermic.
For the second reaction
mass of reactants = 7.0160 + 4.0026 = 11.0186 amu
mass of products = 1.0087 + 10.1294 = 11.1381
mass of reactants < mass of products
Hence, the reaction is endothermic.