(c) Force acting on a body of mass $M$ at a point at depth $d$. Inside the earth is
$F = mg^{'} = mg\left( 1 - \frac{d}{R} \right)$
$= \frac{mGM}{R^{2}}\left( \frac{R - d}{R} \right) = \frac{GM\ m}{R^{3}}r\ \ (\because R - d = r)$
So, $F \propto r;$ Given $F \propto r^{n}$
$n = 1$