The positive (red) cable should be attached to the positive terminals on each battery. The negative (black) cable should have one end attached to the negative terminal of the dead battery, and one end grounded.