The length of s rectangle is 5 inch longer than the width. The perimeter of the rectangle is 40 inches. What is the width, in inches?