How do you create these parametric structures?

I’d like to try these buildings, but I’m a beginner in Rhino. Can you tell me which command to use in Grasshopper?
16_1