The perimeter of a rectangle is 56 inches. The ratio of the length to the width is 6:1. Find the length and width.