Lofting irregular polylines with different length

Hello,

I am trying to loft to irregular polylines with different lengths. However, I can’t make this work. Do you have any ideas?

I want to loft between the upper green line and the lower.

I want it to look similar to this:

lofting_polylines.dwg (129.6 KB)

Hope you can help me!