Solution
= Solution
The parallel axis through the centre is the rod's own long axis, with zero <moment of inertia> in the thin-rod approximation. By the <parallel axis theorem>, the displaced parallel axis has
$$
\boxed{I_D=0+MD^2=MD^2.}
$$
Equivalently, every <mass> element is the same perpendicular distance $D$ from that axis, so the defining integral immediately gives this result.