Your FLAPS may have 25 foot coils of steel brake line, if not they can get it for you or Jegs, etc.. I think it's 1/4 inch for your truck. Then remove the original, drain old fluid out for proper disposal. SAVE ALL ORIGINAL FITTINGS! I like to make a bending table with a thick piece of plywood and a couple sawhorses. Carefully copy the original, leaving a few inches extra at each end. Then cut end square, ream inside tube, file burr on end a little, and use a 45 degree double flaring tool to make a practice flare on the excess end, putting the old nut on first. This excess for the learning curve as this really takes a little practice to get down. Dunking the end in fluid seems to help the forming a little. Check the end to make sure you are getting nice round double flares that do not mushroom off center.
Also mind how much extra tube is needed for the flaring before making the "money cut." Repeat for other end and you are on the way....