The universal law of gravitation states that:
Every object in the universe attracts every other object with a force which is proportional to the product of their masses and inversely proportional to the square of distance between them.
It means that if the gravitational force is F, then if the distance is decreased by 5 times, then the new gravitation force is:
F/5² = F/25