That was confusing to read.
What do you mean by "where can i find the right line to connect them too?"
Do you mean, that you need to figure out which pin on the head unit requires constant power, and which one requires power when turn the key to ACC in the ignition?
Or do you mean you need to figure out which wires in the car itself are delivering the 12V constant power (battery) and which wire is the accessories wire (powers on when you turn the key)?