Mr. McGregor has a rectangular garden that is 15 meters long and 12 meters wide. The document calculates the maximum and minimum total lengths of fencing needed for the garden. For the maximum, the garden is 15.5 meters long, 12.5 meters wide and the gate is 1.5 meters wide, requiring 54.5 meters of fencing. For the minimum, the garden is 14.5 meters long, 11.5 meters wide and the gate is 2.5 meters wide, requiring 49.5 meters of fencing.