Two blocks of masses 2 kg and 1 kg respectively are tied to the ends of a string which passes over a light frictionless pulley. The masses are held at rest at the same horizontal level and then released. The distance traversed by centre of mass in 2 s is (g=10ms2)