A thin, uniform rod is bent into a square of side length a

A thin, uniform rod is bent into a square of side length a. If the total mass is M, find the moment of inertia about an axis through the center and perpendicular to the plane of the square.