Lofting different sections from Array Curve

I’m trying to make a tunnel that looks like this:


I am a beginner grasshopper user. My process thus far is to ‘curve array’ two different sections on the same line. Then, loft all the sections together. However, I get this result:

It seems that the lofting order is off? I’m not sure what the issue is…

ArrayCrv Loft.gh (14.7 KB)

didi it help ?
test.3dm (129.7 KB)
ArrayCrv Loft (2).gh (11.3 KB)