

Let us answer the question by understanding the following facts -
Focal length and refractive index are inversely proportional. Similarly, focal length is inversely proportional to the image distance.
From this, it is clear that image distance is directly proportional to refractive index of the material of the lens.
In the given problem, it is mentioned that refractive index of the medium increased.
As image distance is directly proportional to the refractive index, we can conclude that the image also increases along with increase in refractive index.
