(d) Let the mass of loop $P$ (radius $= r$)$= m$
So the mass of loop $Q$ (radius $= nr) = nm$
Moment of inertia of loop $P,I_{P} = mr^{2}$
Moment of inertia of loop $Q,I_{Q} = nm(nr)^{2} = n^{3}mr^{2}$
$\therefore\frac{I_{Q}}{I_{P}} = n^{3} = 8 \Rightarrow n = 2$