Number of teeth of the red gear Z1 = 40
Number of teeth of the blue gear Z2 = 38
Module m = 2 mm
The eccentricity e caused by the green shaft is 2 mm.
The blue gear Z2 has rotary translational motion due to the fixed green plate.
Radius of two holes on the green plate = e + radius of pins on the blue gear.
Transmission ratio i = Z1 / (Z1 - Z2) = 20