How Does Gravity Affect The Motion Of Planets