cam follower mate

i need to make a slot mechanism. what kind of mate or gruop of mates must i perfom to complete such a mechanism shown in the figure