How do I know which wire is the #1 pin ect.
If you get a nice bright light (and maybe a magnifying glass) you can see the pin numbers formed into the plastic right next to the pins.
So set your multi-meter to ohms (or better yet, continuity) and put the red probe to a wire and keep hitting pins with the black probe until you hear a beep (or you get a display full of zeroes.) Write down which pin is associated with which colored wire, and repeat until you have the cable mapped out.
Then do the same on the other cable.
Then compare the pinouts of each, line up the signals of the same name and connect them together.
You will need to wire the H and V sync lines of the VGA cable together and connect those to the composite sync line of the monitor.
Email me if you get stuck.
RandyT