Due to a long solid cylinder gravitational field strength can be given as,
g=r2Gλ
Where,
λ= linear mass density of galaxy.
For the orbital motion around the galaxy,

fg=fcentripetal
⇒mg=mω2r
⇒r2Gλ=ω2r
⇒ω2∝r21
⇒ω∝r1
⇒T2π∝r1⇒T∝r
So option B is correct.