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