The length of a rectangle is six times its width. If the perimeter of the rectangle is 112 ft, find its length and width.