Step 1:
Find the center of mass of the three-mass system relative to the mass .
.
The center of mass of the three-mass system relative to the mass is .