Not sure which cable your talking about. Your going to have to work out the details, but the example of the 18pin plug shows wires Blue/white, black/red, white/red, orange/red shielded to pin A which is ground.
I would start with a big piece of paper and plot out a sketch of what is where, and...