Louis wants to carpet the rectangular floor of his basement. The basement has an area of 1,014 square feet. The width of the basement is 2/3 its length.
What is the length of Louis's basement?