Theory of satellite orbit-orbit resonance