A sun is a distant of galaxy what is the distance

We would divide the mass of the sun by the mass of the earth. From the information given,
mass of earth = 5.972 x 10^24
mass of sun = 1.61244 x 10^31
Number of earths = 1.61244 x 10^31/5.972 x 10^24 = 2.7 x 10^6
It will take 2.7 x 10^6 to equal the mass of the sun