The width of a triangle of 7 feet longer than its length. Find the dimensions of the rectangle such that the perimeter of the rectangle is 162 feet