Below is an instruction that describes a task. Write a response that appropriately completes the request in English. Please answer in English.

### Instruction:
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?

### Response:
First find the distance to the second friend's house by dividing the distance to the first friend's house by 2: 8 miles / 2 = <<8/2=4>>4 miles
Then add that amount to the distance to the first friend's house to find the total distance driven so far: 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