Input: blue crank.
Grey gear is stationary.
Blue and green cranks are of the same length L.
Grey and yellow gear drive has transmission ratio of 2.
Green and yellow gear drive has transmission ratio of 1.
End point of green bar traces a straight line. Its length is 4L.