A double star is a system of two stars of masses m and 2m, rotating about their centre of mass only under their mutual gravitational attraction. If r is the separation between these two stars then their time period of rotation about their centre of mass will be proportional to.
Consider a double star system
This system rotates about its com which is 2m3m×r=2r3m from object of mass m
Now for rotation
2r3mω2=G.m.2mr2⇒ω2=3Gmr3⇒ωα1r32
and ωαm12
⇒Tαr32andTα−12