HI @Blendash ,
In the case of the Plane, I’d Subdivide it (2 Cuts) and Delete the corner Vertices:

You can also temporarily give the Plane some Thickness and then you can Extrude the side Faces (individually).
With the other figure, you can also give the Mesh Thickness and Extrude the side Faces.
Or use the Edit Mesh Tools Addon:
