Help please. I dont know how to mate these parts.

help please. i want to mate this joint pin inside the frame path, so it can move according the path. how? i upload the pics and files. please teach me. thanks!

SolidworksAssemblies