How to make shapes like this

Maybe this might help