Bend me, shape me
If you prefer, you could shape the metal on a bench before welding it in. Due to the curvatures involved in a noncosmetic area, I chose to let the sheet metal assume the correct shape as I welded it in. The return flange was then folded using pliers.