According to question, object is placed at centre of the sphere, it means every ray will be radial and angle of incidence will be zero. Therefore the image will be formed at the centre of the sphere itself.
Thus, the distance of image from the surface of sphere=6 cm