Given,
The gravitational force between two spheres, F=45 N
Let the initial distance between the spheres be r.
After the distance becomes half, the new distance between the spheres is,
From Newton's universal law of gravitation, the gravitational force between two objects is proportional to the product of the mass of the objects and inversely proportional to the square of the distance between them.
Therefore, the initial gravitational force between the objects is,
Where G is the gravitational constant, M and m are the mass of the spheres.
After the distance between the spheres becomes half, the gravitational force between th objects is,
From equation (i) and equation (ii),
Thus, when the distance between the spheres is halved, the force between them will increase to 180 N.