Given:
Original distance between the planets, d1 = 5 x 10¹⁰ km
Distance after the planets moved, d2 = 2 x 10¹⁰ km.
Let's determine what would happpen to the gravitational force between the planets.
Apply the formula:

Let F1 be the gravitational force before the movement.
Let F2 be the gravitational force after the movement.

Equate both equations
Now, for the two gravitational forces, we have the equations:

The relationship between the gravitational force between planets and the distance is:

The gravitational force is inversely proportional to the square of the distance between the planets.
Thus, we have:

We can see the force after the movement F2 is greater than the force before the movement F1.
Therefore, the gravitational force will increase.
ANSWER:
Increase.