The ratio of the length to the width in a rectangle is 9 to 2. The perimeter of the rectangle is 352 feet. What is the length of the rectangle?​