In figure shown, velocity of mass m at the moment shown is U. Find the velocity of the ring along the rod if it can slide along the smooth rod.