The perimeter of a rectangle is 27 inches. The ratio of length to width is 2:1. What are the length and width of the rectangle? Round answers to the nearest tenth.