The width of a rectangle is 2 inches smaller than its length. The perimeter is 24 inches. Find the length and width of the rectangle. Write your answer as an ordered pair [e.g., if the length and width were 1 and 2 inches respectively, your answer would be (1,2) ].