Use symmetry. If xCM was positioned at x = 2L/3 then by symmetry yCM is positioned at y = H/3. Just have a new coordinate system with origin (L,H) and let the "new" x-axis be pointing in the negative "old" y-direction and the "new" y-axis be pointing in the negative "old" x-direction.