Select the top loop of vertices on the bottom section and the bottom loop on the upper section. Press <kbd>F3</kbd> and type `bridge edge loops` and play with the *Offset*. Read https://blender.stackexchange.com/questions/98088/how-to-bend-a-tube-with-consistent-thickness/98102#98102