A former colleague and a friend of his have gotten themselves lost in a storage room in some abandoned building, so having nothing better to do you head out to try and rescue them. As you reach the storage room in question, you notice a small map scribbled on the wall, which looks like this:
Unfortunately, it seems the two of them didn't see the map, as they can only tell you that they're sitting at two different T-junctions
Your niece's boyfriend suggested throwing pumpkins at them to get their location, but you have a much saner plan: You will call out to the two lost ones and tell them to go down a specific path (either the right, left, or middle path from the junction), until they reach another intersection. Based on how long they walk, you will know how far each individual travels. You won't know whether or where they turn while they travel
You can only give one direction at a time, which both individuals will follow. You can't give directions while they are between intersections, and the directions can only state which of the three paths they should go down (i.e. no special conditions based on what they did previously). They will tell you if they end up at the same intersection or if either one is at a four-way intersection. You must get both of them to the exit at the bottom of the map
What instructions can you give to guarantee that both of the two lost in the maze can make it to the exit?