First let us find M.I. about axis passing through center of cube.
For a square sheet, M.I. about center axis is where M is mass of sheet.
A cube can be assumed to be made up of infinite square sheets.
For cube, moment of inertia about center
Let us try now to find moment of inertia about edge
Using parallel-axis theorem,