Moon's motion around a planet