Extruded the part of the base where the rail starts.
A cylinder was then bridged to that point in the base.
The rail was then extruded and cut into even spaces with multiple edge loops. The line edges of each new loop was moved back to create a curved section on the rail.