The area of a rectangle is 399 square feet. If the perimeter is 80 feet, find the length and width of the rectangle