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

### Instruction:
Jeff was driving to the capital city to attend a conference. At first, he was driving at 80 miles/hour for about 6 hours, then the speed limit changed and he had to slow down to 60 miles/hour, and so he drove at this speed for 4 hours. Then he made a stop at a gas station. Once the car was full of gas, he drove at 40 miles/hour the rest of the trip for 2 hours. How many miles did he travel?

### Response:
 Katika sehemu ya kwanza alisafiri maili 80 kwa saa x masaa 6 = <<80*6=480>>480.
Katika sehemu ya pili alisafiri maili 60 kwa saa x masaa 4 = <<60*4=240>>240.
Baada ya kituo cha mafuta alisafiri maili 40 kwa saa x masaa 2 = <<40*2=80>>80.
Jumla ya maili alizosafiri ni 480 + 240 + 80 = <<480+240+80=800>>800.