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

### Instruction:
John jogs at a speed of 4 miles per hour when he runs alone, but runs at 6 miles per hour when he is being dragged by his 100-pound German Shepherd dog. If John and his dog go on a run together for 30 minutes, and then John runs for an additional 30 minutes by himself, how far will John have traveled?

### Response:
 Dakika 30 ni 30 / 60 = 1/2 saa.
Kwa kasi ya maili 6 kwa saa, John na mbwa wake watakimbia maili 6 * (1/2) = 3.
Kwa kasi ya maili 4 kwa saa, John atakimbia maili 4 * (1/2) = <<4*1/2=2>>2.
Jumla, John atakimbia umbali wa 3 + 2 = <<3+2=5>>5 maili.