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

### Instruction:
 Jonsey anabaki macho kwa 2/3 ya siku na anatumia 1/2 ya muda wake akiwa nje na muda uliosalia ndani. Ndugu yake, Riley, anabaki macho kwa 3/4 ya siku na anatumia 1/3 ya siku yake akiwa nje na muda uliosalia ndani. Wanatumia muda gani, kwa wastani, ndani?


### Response:
 Jonsey anabaki macho kwa masaa 16 kwa sababu 24 x (2/3) = <<24*(2/3)=16>>16
Anatumia masaa 8 akiwa nje kwa sababu 16 x (1/2) = <<16*(1/2)=8>>8
Anatumia masaa 6 ndani kwa sababu 16 - 8 = <<16-8=8>>8
Riley anabaki macho kwa masaa 18 kwa sababu 24 x (3/4) = <<24*(3/4)=18>>18
Anatumia masaa 6 akiwa nje kwa sababu 18 x (1/3) = <<6=6>>6
Anatumia masaa 12 ndani kwa sababu 18 - 6 = <<18-6=12>>12
Jumla wanatumia masaa 20 ndani kwa sababu 8 + 12 = <<8+12=20>>20
Kwa wastani, wanatumia masaa 10 ndani kwa sababu 20 / 2 = <<20/2=10>>10