Taking to be along a long side and to be along a short side of the rectangle, the moment of inertia tensor is