The length of a rectangle is 6 inches longer than the width. The perimeter is 28 inches. What is the length of the rectangle?