Most parts stores carry sections of brake line tubing of various lengths. Its a steel line with a plastic coating. These are high pressure lines I doubt if it was plastic. Normally these should be under $5.00 I don't know what they sold you but use approved steel tubing. You may have to use a bender to get the correct length. On a rear axle they normally have a spiral wound wire to prevent a stone from crushing them. I've also purchased a good section from a scrap yard.