two object are 5kg and 10kg respectively and they're 10m apart. if the distance between them is increased to 20m. what happened to the gravitational force
I think this is INVERSE SQUARE law of distance of separation. I think you'd QUARTER the force.
Their masses don't matter. If you double the distance between them, the gravitational force between them reduces to 1/4 of its original strength.