The cost of the gift is 170 dollars
Each of the five children have contributed ten dollars, for a total of 5 * 10 = 50 dollars
They need to raise an additional (170 - 50) = 120 dollars
The children have 8 weeks to raise 120 dollars. How much is that per week?
120/8 = 15 dollars
Since there are 5 children, then each child will have to contribute 15/5 = 3 dollars each week