Half the perimeter of a rectangular garden