Danny helps his friends carpool to work. He has to drive 8 miles to the first friend's house, half that distance to the second friend's house, then 3 times the total distance driven so far to get to work. How many miles does Danny drive between the second friend's house and work? Let's think step by step and output the final answer after "####".
user
First find the distance to the second friend's house by halving the distance to the first friend's house: 8 miles / 2 = <<8/2=4>>4 miles
Then add that amount to the distance to the first friend's house: 4 miles + 8 miles = <<4+8=12>>12 miles
Then triple that number to find the distance from the second friend's house to work: 12 miles * 3 = <<12*3=36>>36 miles
#### 36
Danny helps his friends carpool to work. He has to drive 8 miles to the first friend's house, half that distance to the second friend's house, then 3 times the total distance driven so far to get to work. How many miles does Danny drive between the second friend's house and work?
train