The manual tells you exactly what you need to do
Here is the
K7S8X manual in PDF format if you need it.
Page 7 - Motherboard Layout, shows you what all the connectors are
Page 12 (section 2.8) shows you each individual connector, and shows you how to put the wires into it.
If you look at the wires, they should have writing on the side. You can match them up to the connectors of the same name on the motherboard. (Sometimes the names do not match exactly, but should still be rather simple to figure out.)
- rp