How to make a mate between a set of weights and a pulley ?!

I'm making a gym machine for a college subject and i cannot make the weights lift
My problem is I can't mate the pulleys with the weights , can you help me please ?
I have 3 days to deliver this :s
2 Answer

the machine has 5 pulleys but for now i'm trying to make it work with just two.
i made a gear mate between the pulleys but now i can't find a way to made the weight ( which is just a rectangular block ) to follow to rotation ...
Maybe I could draw a line , representing the imaginart cable as the path the weight should follow , but still how will the weight lift ?