Drawing a straight line from the starting point to the ending point would create a right triangle.
You can use the Pythagorean Theorem to find the direct straight line distance for Jimmy.
If Jimmy took the direct line, he would have traveled approximately 32 meters.