Sliding collapsing segment(s)

I'm having a simple issue I just cant wrap my brain around. I'm desinging a tool that is for an expander that has collapsible segments ( section ring). How can I mate these so they slide along a specific line of motion.

Do i need to insert axes on both set them concident and then just set the faces conicident