(a) Since there is no external force acting on the particle,
Hence
$y_{CM} = \frac{m_{1}y_{1} + m_{2}y_{2}}{m_{1} + m_{2}} = 0$, hence
$\left( \frac{m}{4} \right) \times ( + 15) + \left( \frac{3m}{4} \right)\left( y_{2} \right) = 0 \Rightarrow y_{2} = - 5$ cm