Two masses m and 2m are at rest initially. Find the velocity of mass 2m, when their separation reduces to d2 due to gravitational force of attraction.