A rectangle's perimeter and area have the same value. The width of the rectangle is 6 units. What is the length of the rectangle in units?