How do i hook up rca cables to subs to radio?

I have a aftermarket radio, how do i hook the rca cables and remote wire to it, casue i have to slide it back in, where do you run it to back of car from there? like how do you run it, since its rca plug is on back of radio and radio slides in. thanks
3 answers 3