Gravity formula:
\\(\\begin{array}{l}F=\\frac{Gm_{1}m_{2}}{r^{2}}\\end{array} \\)
Where,
G is a constant equal to 6.67 × 10-11 N-m2/kg2
m1 is the mass of the body 1
m2 is the mass of body 2
r is the radius or distance between the two bodies