Step-by-step explanation:
the value of acceleration due to gravity on the surface of the earth is

as we know, the gravity is related as,

Here,

is a Gravitational constant,

is the mass of the earth and

is the radius of the earth,
After plugging all the values in the above relation we get

Thus, we get acceleration due to gravity is
