Hint:

Equate the Gravitational force on the moon to centrifugal force expressed in terms of angular velocity.