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

### Instruction:
 Kuna matofaa 50 na machungwa 40 katika kafeteria. Ikiwa tufaa linagharimu $0.80 na chungwa linagharimu $0.50, kafeteria inapata kiasi gani kwa matofaa na machungwa ikiwa kuna matofaa 10 na machungwa 6 yaliyobaki?


### Response:
 Kuhesabu matofaa 10 yaliyobaki. Kulikuwa na matofaa 50 - 10 = <<50-10=40>>40 yaliyouzwa.
Kuhesabu machungwa 6 yaliyobaki. Kulikuwa na machungwa 40 - 6 = <<40-6=34>>34 yaliyouzwa.
Jumla ya matunda yaliyouzwa ni 34 + 40 = <<34+40=74>>74.
Kafeteria ilipata $0.8 x 40 = $<<0.8*40=32>>32 kwa matofaa.
Kafeteria ilipata $0.5 x 34 = $<<0.5*34=17>>17 kwa machungwa.
Kafeteria ilipata jumla ya $32 + $17 = $<<32+17=49>>49 kwa matunda.