A billiards table is twice as long as it is wide . If the perimeter of a billiards table is 24 feet , what is the length and width of the table ?