A spider and a fly are in a 12 foot high room having a 12 foot by 30 foot floor. The spider is on one 12×12 wall halfway between the adjacent walls and 1 foot from the floor. The fly is on the opposite 12×12 wall halfway between the adjacent walls and 1 foot from the ceiling. The spider wishes to crawl to where the fly is via the shortest possible route. How far will the spider travel?
Source: James Fixx