A 37-foot walkway runs the diagonal of a rectangular garden. If the length of the garden is 35 feet, find the perimeter of the garden.