Angular momentum of a rigid body about a fixed axis is given by $$L=1 \omega$$
where $I$ is moment of inertia and $\omega$ is angular velocity about that axis.
Kinetic energy of body is given by
$$
\begin{array}{ll}
& K=\frac{1}{2} / \omega^{2} \\
\therefore \quad & K=\frac{1}{2 I}(\mid \omega)^{2}=\frac{L^{2}}{21} \\
\Rightarrow \quad & I=\frac{L^{2}}{2 K}
\end{array}
$$