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

### Instruction:
 Zach alikodisha gari kwa $150 na 50 senti kwa kila maili. Alisafiri maili 620 Jumatatu na maili nyingine 744 Alhamisi. Alikuwa ametoa kiasi gani?


### Response:
 Maili 620 kwa 50 senti kwa kila maili ni 620 * 0.5 = $<<620*0.5=310>>310
Maili 744 kwa 50 senti kwa kila maili ni 744 * 0.5 = $<<744*0.5=372>>372
Jumla ya gharama ya kukodisha ilikuwa 150 + 310 + 372 = $<<150+310+372=832>>832