I use the moment of inertia I = 1/12ml2 for an axis perpendicular and passing through the center of mass of a rod.
In a cube built out of 12 rods I have 8 rods at a perpendicular distance l/2 from the axis through the midpoint of a cube. These 8 rods contribute the moment of inertia I1 =...