We will have the following:
First, we remember:
[tex]F=\frac{Gm_1m_2}{r^2}[/tex]Then, from the problem we will have that:
[tex]2.4\ast10^{30}N=\frac{G(2.0\ast10^{30}kg)(2.0\ast10^{30}kg)}{r^2}[/tex][tex]\Rightarrow r^2=\frac{G(2.0\ast10^{30}kg)^2}{2.4\ast10^{30}N}\Rightarrow r\approx1.1116666667\ast10^{20}m[/tex]So, the Andromeda galaxy is approximately 1.1*10^20 meters from the milky way.
The acceleration of the Andromeda galaxy towards the milky way is:
[tex]2.4\ast10^{30}N=(2.0\ast10^{30}kg)a\Rightarrow a=1.2m/s^2[/tex]So, the acceleration towards the milky ways is 1.2m/s^2.