Ramp with "Switchback" - Say, for Wheel Chair accessible

I think there are probably tools I haven’t messed with that have to do with making a massing model like this, simple as it is.

I’m betting there are ways to create this from a single extrusion block, yes?

Any thoughts appreciated.