We are calculating the displacement from x-axis (X)
the product o mass and displacement will be a constant for the two bodies.
M1X1 = M2X2
1/8 x 0.14 = 7/8 x X2
X2 = (0.14 x 8) / (8 x 7)
= 0.14/7
= 0.02 m below x-axis (since they will move in opposite direction)