A rectangle has perimeter 52 feet and an area of 165 square feet. find the dimensions of the rectangle assuming the width is smaller than the length.