Two spherical bodies, having a mass of M and 5M and radius of R and 2R respectively, are released in free space with initial separation between their centres equal to 12R. If they attract each other due to gravitational force only, then the distance covered by the smaller body just before collision is