Buy/borrow a decent line bender and the right length stainless lines with the correct fittings on each end then carefully copy one bend after another, starting at one end and moving carefully toward the other end.
If you have to cut and end for proper fit (likely), make sure you buy/borrow a double flare tool with instructions for it'* proper use.
You CAN do this! It'* just not fun or easy.... at first. Do it carefully and you will get a good safe job, plus the satisfaction of knowing you did it!