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

### Instruction:
Greg drives 30 miles from his workplace to the farmer's market. After buying his groceries at the farmers market, he drives home. To get home, he travels for 30 minutes at 20 miles per hour. How many miles in total does Greg travel?

### Response:
 Kwanza tunahitaji kubadilisha dakika kuwa saa, hivyo dakika 30 * (1 saa/60 dakika) = <<30*(1/60)=0.5>>0.5 saa
Tunajua kuwa umbali = kasi * muda, hivyo 20 maili/saa * 0.5 saa = <<20*0.5=10>>10 maili
Ili kupata jumla ya umbali uliosafiri, tunasoma maili Greg anasafiri kwenda sokoni na kurudi: 10 maili + 30 maili = <<10+30=40>>40 maili