Two rectangles have the same width. The length of one is 1 foot longer than the width. The length of the other is 2 feet longer than the width. The larger rectangle has 6 more square feet than the smaller. What is the width of the rectangles?