Maddie has a retangular garden in her backyard. The perimeter of the garden is eighty-two feet. The width is five shorter than the length. What are the length and width of the garden?