We may assume, without loss of generality, that in a Cartesian coordinate system the perpendicular distance between the axes lies along the x -axis and that the center of mass lies at the origin. The moment of inertia relative to the z -axis is then