The key to extending those and ending up straight will be, using internal sleeves to help line it up. I can make those and maybe supply the tubing.
If, you weld a whole new section in, then cut it in proper place, everything should stay straight.
Is any of the upper brace left, as you will have to do some work there as well. Or make some new pieces.