Right, brakes aren't a place to cut any corners.
You likely only have 3 rubber lines, one at each front wheel to frame, and one at rear axle to frame.
Try to look up replacements by application, and be prepared to remove originals and take them in to match up.
You can have aftermarket lines made to suit if not available off the shelf, but not many shops have the equipment to do it and test them.
It's been a long time that I had some made, perhaps someone here has a good current source.