There was a small lake, around which four poor men built their cottages. 
Four rich men afterwards built their mansions, as shown in the illustration, and they wished to have the lake to themselves, so they instructed a builder to put up the shortest possible wall that would exclude the cottagers, but give themselves free access to the lake.

How was the wall to be built?

See answer

Math Genius