Here's my understanding of what you have to do, based on setting one of these up, with Rabbinic guidance, for a few years in college. I've never studied the relevant laws in depth, but I believe based on what I learned in practice from my Rabbi that under normal conditions, the following procedure will do the trick. Ask your Rabbi to be sure. This will be a restatement of some of the information in YDK's answer, but with more bullets and less jargon.
To be allowed to carry stuff into, through, and out of an area on Shabbat, you need two things to be true:
The entire area is "owned" by one entity.
The area is enclosed on all sides by "walls."
For the purpose of this discussion, I'll assume that your house, your sukkah, and the space you want to traverse between them are all on your property, which takes care of (1). If not, you be able to fix this by making an eruv chatzeirot. This is definitely a situation that requires rabbinic guidance.
For (2), there are two basic categories of "wall":
a. "Solid" walls:
Are within 3 tefachim (for which 9 inches should satisfy all opinions) of the ground for their entire length, and
Extend up from the ground at least 10 tefachim (for which 40 inches should satisfy all opinions) for their entire length, and
Contain no gaps that measure more than 3 tefachim by 3 tefachim (for which 9" x 9" should satisfy all opinions).
Examples: The walls of your house or sukkah (assuming it's a kosher sukkah!), a 40"-high dense hedge, a 40"-high chainlink fence.
b. "Doorways":
Includes a regular doorway with regular doorposts, or
A Halachic "doorway" made of two uprights and a wire strung over them. The requirements for this are:
Uprights are straight, solid objects that extend from the ground to at least 10 tefachim (for which 40 inches should satisfy all opinions) up. A cheap strip of wood should suffice.
Note that while according to some authorities, you can just use the existing walls for uprights, to satisfy the stricter and what I'm told are normative authorities, you need to use dedicated uprights.
The wire has to pass directly over the uprights.
The wire has to be tight enough that its maximum deviation from an absolutely straight line is less than 3 tefachim (for which 9 inches should satisfy all opinions), so make it as tight as you safely can. The shorter the wire is, the easier this requirement is to satisfy.
I recommend attaching the wire on both ends first, making it as tight as possible, then placing and fixing the uprights directly underneath the two ends of the wire.
The "walls" or "doorways" have to completely surround (subject to possible exceptions, as described by YDK. Consult your Rabbi if you think you think an exception may apply.) the area you're using, with no gap between adjacent "walls" or between a wall and the upright for the adjacent "doorway" of more than 3 tefachim (for which 9 inches should satisfy all opinions).
Your third diagram could potentially depict the setup I've described, but not the first two, unless there's an unseen additional wall or fence or the like connecting the house and the sukkah.
There may be other ways to fulfill the relevant Halacha or other opinions, but like I said, I believe that if you follow the above procedure, you'll be OK according to the normative opinions.