Create a sketch on the axis of your horseshoe on the same plane as the low level of your green piece This sketch should go for the gray axis of the pieces and all the way to the end
Red line in my image
On your green piece create a sketch on the bottom view at the blue line axis
On this axis you put 2 points 1 at each end blue cross
It's up to you to constrain each cross to a red line
After with a free movement of the should be able to do the ride if you are in an assembly
Once constrained correctly according to the GT22 method, place your part at the starting point, move the time bar (orange) ex 2s and move your part by a consistent distance at the desired speed. Repeat this exercise at regular intervals (e.g. 6 times) until the end of the stroke. Place keys each time you move to control the position of the workpiece.
Before playing the animation, click on the icon that looks like a calculator to have your animation calculated.
I'm stuck on the trajectory selection, I created a sketch and I put construction lines for which I will use for the trajectory of the green bucket. (but I can't select them)
You can create a path sketch in the orange room on a plane parallel to your green room, and convert the features of the track outlines, then use offset features to make your path set in the middle of your track.