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

### Instruction:
Kenny played basketball last week. He ran for twice as long as he played basketball, and he practiced on the trumpet for twice as long as he ran. If he practiced on the trumpet for 40 hours, how many hours did Kenny play basketball last week?

### Response:
 Kenny aliendesha kwa masaa 40/2=<<40/2=20>>20.
Kenny alicheza mpira wa kikapu kwa masaa 20/2=<<20/2=10>>10.