Gear and Linkage Mechanism

The gears have the same tooth number and the same distance of their pins to their rotation axes.
The green bar has complicated motion in general.