Two small discs of masses and interconnected by a weightless spring rest on a smooth horizontal plane. The discs are set in motion with initial velocities and whose directions are mutually perpendicular and lie in a horizontal plane. Find the total energy of this system in the frame of the centre of inertia.