The metronome is a lightweight rod, on the lower end of which there is a weight of mass M at distance l from the axis. Above the axis, a movable weight of mass m can be attached to the rod at different distances x from the axis, thus selecting the desired frequency of the metronome oscillations. Considering the masses to be point masses, find how the frequency of oscillation depends on the distance x.