Question 871487
You can do this with visual thinking.  Thirty six length units, each available as individual pieces.  LONGEST dog run would use 1 piece each at opposite sides; and then there would be 34 pieces still ready to use for the other pair of sides.  Each of them is 17 pieces.  Obviously, longest length of the dog run is 17 yards.