Input: pink (or blue) gear.
Output: the other gear. It turns at the same input velocity but in opposite direction.
Green runways are pivoted idly on the gears so it is easy to adjust position of the output.
It is possible to set the mechanism to get two gears rotate in the same direction: reassembly the yellow rack in such a way that its teeth are on one side.