Five people can finish painting a wall in 6 hours. If only 3 people are available, how many hours do they have to work to finish the same job