r: pitch radius of the fixed sun gear
R: pitch radius of the green planetary gear
k = R/r = 1.5
Distance between the hole axis of the orange slider and the planetary gear axis is (124/30)r for getting a curve having two straight segments. The input link is the orange disk.
The pink cross has linear reciprocating motion with dwell at both stroke ends.