A woodworker spends a total of 162 hours making 24 birdhouses. He spends the same amount of time on each birdhouse. How many hours does he spend on each birdhouse?