Linkage for Linear Motions

Back mechanism:
Input: pink slider. Opposite sliders move in opposite directions with the same speed.
Front mechanism:
Input: violet slider. Opposite sliders (in orange) move in the same direction with different speeds.