Relocate Solenoid Slant 6 1965 Barracuda

Measure the length needed, and head to your local parts store.
They usually have a " rack " of pre-made cables .
Good luck