Answer:
6 hours
Step-by-step explanation:
First, since they all collected 510, you divide 510 by 5, to figure out how much each person got.
You then know that each of them got 102 candies, so now, you subtract 12 from from 102, since the teacher gave them that much in the beginning.
You're left with 90, so last step is to divide 90 by 15, since they collect 15 every hour, which you get left with 6. Meaning they collected candies for 6 hours
It would be 0 because 8 is over 5 so ya
$6.93 is the answer for your question