Straight Line Drawing Mechanism a

Yellow, green and pink links create a parallelogram mechanism.
Length of yellow link: a
Length of green link: 4a
Length of pink link: a + a
Length of blue links: 5a
Center of revolute joint between two blue links traces green line, lower portion of which is approximately straight.