Anytime you play with the postive battery cable, disconnect the negative one first. That way, if you drop a wrench or the wrench contacts the body, you won't short the battery, make sparks and break something.
The battery to solenoid cable is less than 14" long and is secured by one big nut on the solenoid. Mark and label all of the smaller wires that share the same stud on the solenoid before you take the nut off.
The starter to solenoid cable goes from the solenoid to the starter and runs under the front of the engine, just above the sway bar. The starter end can be hard to get the nut off and back on. Don't try to change this cable with a hot engine. You will get burned trying to change the cable if you do.