OK, so the mechanics of this problem are that the two chords have different densities and so when displaced this results in a mass difference on either side. If the heavier chord is at the bottom this will result in SHM as the direction of the net weight weight will be restoring in nature.
Now we can assume that the heavier chord is at the bottom since if it were at the top displacement from equilibrium would cause it to fall to the bottom (also resulting in oscillations). Hence we only need consider the case where the heavier chord is at the bottom.
First consider what constitutes equilibrium here. This will be when each side is symmetric i.e. equal lengths of each chord must be either side of the peg and so if we call their joining knots
must be at the same height.
Now if we consider the displacement of
upwards by a distance
from the equilibrium point then for the region of the chords greater than
above and below from the equilibrium point there is symmetry and so the masses balance. However, within a region
above and below the equilibrium point the masses do not balance providing net force
which is directed downwards at
This force is equally transmitted through the chords and so the inertial mass acted upon by this force is the total mass of the chords so: