The length of a rectangle is 5 in longer than its width.
If the perimeter of the rectangle is 74 in, find its length and width.