The length of a rectangle is 5 less than twice its width. The perimeter is 26 meters. Find the dimensions of the rectangle.​