Blue input gear of tooth number Z1 rotates regularly.
Carrier of planetary drive is orange crank.
Yellow satellite gear of tooth number Z2 and yellow bar are fixed together. The orange crank rotates irregularly.
If Z1 = n.Z2, the pink slider reciprocates n times during 1 revolution of the blue gear. For this case n = 2.