discuss the way gravity depends on the masses of two interacting bodies and on the distance between them. If one body was to try to escape its orbit, what two major factors would affect the necessary escape velocity?

By the universal gravity law, the force between two bodies equals Gm_1m_2/R^2 and is proportional to the product of their masses and inversely proportional to the square of the distance between them.

The escape velocity of a body on an orbit around a planet depends on the mass of the planet and on the distance from the planet.