Hint 1
From the starting position, there are three directions Luke can go: upwards, downwards or right.
Start by sending him downwards and onto the switch in the bottom-left corner. Taking either of the other routes would eventually lead him to a dead end.