Let t be the time taken for the two masses to collide and x5M​,xM​ be the distance travelled by the mass 5M and M respectively. The gravitational force acting between two sphere when the distance between them ( 12R−x) where x is a variable, F=(12R−x)2GM×5M​ Acceleration of mass M,aM​=(12R−x)2G×5M​ Acceleration of mass 5M,a5M​=(12R−x)2GM​ For mass 5Mu=0,S=x5M​,t=t,a=a5M​S=ut+21​at2∴x5M​=21​a5M​t2.....(i) For mass Mu=0,s=xM​,t=t,a=aM​∴s=ut+21​at2⇒xM​=21​aM​t2....(ii) Dividing (ii) by (iii)xM​x5M​​=21​aM​t221​a5M​t2​=aM​a5M​​=51​∴5x5M​=xM​.......(iii) From the figure,x5M​+xM​=12R−2R−R=9R......(iv)From (iii) and (iv)5xM​​+xM​=9R∴6xM​=45R∴xM​=645​R=7.5R So two sphere collide when the sphere of mass M covered the distance of 7.5R.