This is just the difference in mass between the empty beaker and the beaker with the liquid in it!

 
For Trial 1, mass of liquid = (31.42 g - 7.25 g) = 24.17 g