That first one is a milti tc buildout not a wide gap. The 2nd buildout is the better way to do it, and an alternative way if you dont have 10 squares worth of space to work with is place 1 triangle coming off base, attach another triangle to the first, so you are once again flat side out. Then build 3 squares, cap with a triangle, then remove everything except the last triangle. Build back from that triangle with triangles in half-moon formations favoring right side always. This will leave you with an extra wide gap, but not one you can fall through. Not as good as the 2nd way shown in this video but works if you have limited space. JONHKK builder sanctuary spawn code for an example base.
Thats short gap and quarter gap. You also have pixel gap and half gap as well the difference between the half gap and quarter gap aka traditional wide gap is you can fall through half gap but it does give better shooting angles.