Dynamics of the Earth: Theory of the Planets Motion