It's been awhile, but in general:
The cable attaches to your gas pedal kind of like the way an e-brake cable attaches to the caliper. There is a little "thing" on the end of the cable, and you just have to use a screwdriver or needle nose or something to pop this little thing out of the slot that holds it to the pedal.
Where the cable passes through the firewall, there is a plastic clip that is VERY easy to break. You have to push inward (towards the center) with a flat tool like a flat head screwdriver on both sides, while pulling towards you (in the engine bay).
Disconnecting the cable from the throttle body should be pretty straight-forward, since you can see everything clearly in that area.