A rectangle is drawn so that the width is 2 feet shorter than the length. the area of the rectangle is 24 square feet. find the length of the rectangle.