If the perimeter of a rectangle is 37 inches and the width is 10 inches, what is the length of the rectangle?