(c) Distance between the centre of spheres = 12$R$
$\therefore$ Distance between their surfaces =12$R - (2R + R) = 9R$
Since there is no external force, hence centre of mass must remain unchanged and hence
$\Rightarrow \ \ m_{1}r_{1} = m_{2}r_{2} \Rightarrow Mx = 5M(9R - x) \Rightarrow x = 7.5R$