The mass of carbonate sample added to the test tube for Trial 1 will be the difference in mass between the (mass of beaker, tube, HCl, sample before reaction) and the (mass of beaker, tube HCl).

 
Mass of sample Trial 1 = (10.2758 g - 9.7821 g) = 0.4937 g sample