A binary star is a system of two stars rotating about their centre of mass only under mutual gravitational attraction. Let the stars have mass m and 2m and let their separation be l. Their time period of rotation about their centre of mass will be proportional to