Oscillations

A satellite (mass m) is moving along a strait line
between two stars of mass M.
The distance from each star to the line is a (at the nearest point).
1. What is the condition for having harmonic oscillations?
2. Find the frequency of small oscillations.