how to make the gear motion like this?

i made this, but it's not corrected. sorry, you know what i mean? i'm a beginner for solidworks, i love this software so much, it's so powerful. help me please.

SolidworksSimulation