The length of a rectangle is 3 inches more than its width, and its perimeter is 22 inches. Find the width of the rectangle.

4 in.
5 in.
7 in.