This picture should help. It just 2 motors (with gearboxes, but the encoders are on the motor shafts) with pulleys and a rope in between.