R: pitch radius of the fixed sun gear
r: pitch radius of the planetary gear
k = R/r = 4
Distance between the hole axis of the orange slider and the planetary gear axis is (11/30)r for getting a square of straight sides.
The blue cross has linear reciprocating motion with dwell at both stroke ends.