Way too many variables
Dealer parts or buy tubing and bend cut etc and then flare
My advice is this
Replace all lines if one is rusted....you will never have to do this again....for at least 15years
Is it gm or ford?
Easiest route is to get all the lines clips and hoses (be prepared just in case with about $300 for calipers and wheel cylinders) get a mechanic friend and a 12 pack of a good IPA...don't pop first top until lines are replaced
Your looking at $350 worth of lines(prevent etc) plus add in crap that doesn't come loose
Good luck and ask more ?
Hardest part will be taking crap apart, then cleaning, next reassymble, then bleeding....brakes not you