Final answer:
To determine the number of grams in a substance sample, you first need to find its molar mass. Once the molar mass is known, you can convert the number of particles to moles and then to grams using the molar mass.
Step-by-step explanation:
The first step to determine the number of grams in a substance sample, given the number of particles, is to find the molar mass of the substance. The molar mass is the mass in grams of one mole of representative particles of that substance. Once the molar mass is known, the number of particles can be converted to moles and then to grams using the molar mass as a conversion factor.