How would you do it?

If you just want to replace the piece across the firewall that feeds the passenger front then you could measure how far, buy a straight piece correct length/diameter/fitting and bend it yourself. I use a 3/4 or larger socket to bend the line where needed. You should be able to re-use the old clips to attach to firewall. I cleaned out Advanced Auto's inventory when they changed the brand of brake line they carry. I got each piece for $1, some were 5' down to 12" and various diameters and fitting type.