How Moon and Earth rotate around the Sun