Pink, green and blue links create a slider-crank mechanism.
Length of pink link: a
Length of green link: 4a + 26a
An end of the green link traces green line, right portion of which is approximately straight. It is an absolutely straight, if center of the middle revolute joint of the green link moves along an ellipse. Refer to:
Drawing Ellipse Mechanism 3