Two spherical planets have the same mass but densities in the ratio 1: 8. For these planets