Hey! Greetings!
That means you can pass through 2, 3, 4, 5 in any order (since there isn't a line connecting them), then get back to 1 to complete the quest (since it's the last one with the check symbol).
You could choose to do like this, for example: 4 > 2 > 5 > 3 > 1
Hope it helped!