Two cubes with masses and were interconnected by a weightless spring of stiffness and placed on a smooth horizontal surface. Then the cubes were drawn closer to each other and released simultaneously. Find the natural oscillation frequency of the system.