Need help; Gear ( slot and lever mechanism ) pushing object/ piston for quick return animation

trying to recreate this video https://www.youtube.com/watch?v=s3G3au-EyAQ&t=28s

so far i have this examplegif1

i used damp track and a rigid body, the little block already has a bone, i just dont know how to tell it to move. i am new to 3d please help

I can’t see why you used a rigid body.

If your problem is with that connecting bit that isn’t right towards the end of your animation, the typical way to do this would be via 2-bone-chain IK.