A farmer built a fence around his 17 cows, in a square shaped region. He used 27 fence poles on each side of the square. How many poles did he need altogether?
The four corner poles are common to both sides, so we have:
25 poles x 4 sides + 4 corner poles = 104 poles