The perimeter of a rectangle is 30 feet. The difference between the length and the width is 1 foot. Find the width.