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

### Instruction:
 John anapaswa kulipa kodi. Amejipatia $100,000 kwa mwaka. Ana $30,000 katika makato. Kipato cha kodi cha kwanza cha $20,000 kinatozwa kodi ya 10%. Kiasi kilichobaki kinatozwa kodi ya 20%. Anapaswa kulipa kiasi gani kwa kodi?


### Response:
 Kipato cha kodi cha John ni 100,000 - 30,000 = <<100000-30000=70000>>70,000.
Kipato cha kwanza cha $20,000 kinatozwa kodi ya 10%, hivyo anapaswa kulipa 20,000 * 0.1 = <<20,000*0.1=2,000>>2,000.
Kiasi kilichobaki kinatozwa kodi ya 20%, hivyo anapaswa kulipa 50,000 * 0.2 = <<50,000*0.2=10,000>>10,000.
Jumla ya kiasi kilicholipwa ni 2,000 + 10,000 = <<2,000+10,000=12,000>>12,000.