So the question is looking for an answer with the units of g/cc. It just so happens that we are given both the mass in grams and the volume in cubic centimeters. Since the cubic centimeters are in the denominator of the unit that we need, we must divide the grams by the cubic centimeters.
[tex] \frac{3g}{0.341cc} =8.8 \frac{g}{cc} [/tex]
Therefore, the density of gold in g/cc rounded to the nearest tenth is 8.8