The figure represents a solid uniform sphere of mass M and radius R. A spherical cavity of radius r is at a distance a from the centre of the sphere. The gravitational field inside the cavity is
Directly proportional to a
According to Gauss law field inside the cavity is uniform and depends upon the mass of sphere of radius a.