This is a nifty little problem from the Quantum math magazine.
“Two ants stand at opposite corners of a 1-meter square. A barrier was placed between them in the form of half a 1-meter square attached along the diagonal of the first square, as shown in the picture. One ant wants to walk to the other. How long is the shortest path?”
See the Barrier Minimal Path Problem