(CLICK TO COPY THE COMMAND)
Well everything is in the video,just pause to read some parts if it's too fast.
(It IS cutted off at the end)
/tp @p[x=(coords),y=(coords),z=(coords),r=(maximum range to find players to teleport from the coords stated),rm=(min. range to find players to teleport),m=(what gamemode to teleport(1,2 or 3)),c=(number of players to teleport)] (coords to teleport to)
Example : /tp @p[x=1,y=60,z=1,r=5,rm=1,m=1,c=5] 10 60 10