if a rock had a mass of 9.00g, what is the density of the rock?

You have to know the volume to find the density.

density = mass/volume