Vertical and Horizontal Motion

I am trying to link a horizontal sliding part with a vertical sliding part.  Each one moves at a different specified distance.  For example, when I slide one part 1 inch the other part slides two inches.  Does anyone have any suggestions on how to accomplish this in and assembly?

SolidworksAssemblies