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

# Answer

36
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
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?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
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