Best way to remedy this broken wire?

Oh, and don’t do what the prior person did to fix the wire. Those crimp terminals only work well INSIDE the car. Do a good solder then heatshrink job for stuff under the hood; otherwise the weather will get in there and eat things up.