A Piano teacher sets a task to practice specific pieces of music. Each piece takes 3 hours to practice thoroughly. If her student has 9 hours for practice, how many pieces can the student practice thoroughly?