Grasshopper scripting of this structure

hi there, i really need help in making this exact grasshopper script. please anyone there to guide ?
I m new to this whole structure.