How to apply two actions or one cumulative to one object?

How to apply two actions(rotations) or one cumulative to one object?

eg The Earth goes round itself and round the Sun

Attached is an example of a couple of the potential options. Use objects parented to empties and keyframe rotate the emptys or use in combination with a follow curve contraint

Attachments

rotate.blend (249 KB)