Two stars of masses m and 2m at a distance d rotate about their common centre of mass in free space. The period of revolution is :