The length of a triangle is eight more than twice its width. The perimeter is 88 feet. Find the dimensions of the rectangle.