Four equal masses, each are placed at the corners of a square of length as shown in the figure. The moment of inertia of the system about an axis passing through and parallel to would be:

Let us place the square with vertices , , , at coordinates , , , and . The diagonal goes from to , so its direction vector is (or unit vector ).
The axis passes through and is parallel to . The line through the origin with direction has equation , so the perpendicular distance of a point from this axis is .
For mass at : , so .
For mass at : , so .
For mass at : , so .
For mass at : , so .
The total moment of inertia is .
Tagged Moment of inertia of standard bodies and composite systems. Machine-assigned, so read it as a strong shortlist rather than a verdict.