You can buy some really tight pre-made mandrel bends from places like Summit Racing (or other vendor you prefer):
https://www.summitracing.com/parts/pte-h7059You cut out a section of the U-bend, and then you weld it to your pipe. What exhaust pipe size do you have?
The straight section coming out of the flange could also be shortened by quite a lot. The weld with the bend could be like 1/2" away from the flange.
On my Fiero, I used a bend like that to keep the exhaust pipe from penetrating into the trunk:
For scale, that's a 2-1/2" exhaust pipe.
To cut exhaust pipes, I use a worm clamp + a Sharpie marker to trace the cut line. I then cut the pipe with an angle grinder + cutoff wheel.