The length of a rectangle is twice its width. The perimeter of the rectangle is 15 inches. What are the measurements of the lengths and width of the rectangle?