The width of a rectangle is half as long as the length the rectangle has an area of 18 square feet. what is the length and width of the rectangle?