Jonsey is awake for 16 hours because 24 x (2/3) = <<24*(2/3)=16>>16
Jonsey spends 1/2 her day inside because 1 - (1/2) = 1/2
Jonsey spend 8 hours inside because 16 x (1/2) = <<16*(1/2)=8>>8
Riley is awake for 18 hours because 24 x (3/4) = <<24*(3/4)=18>>18
Riley spends 2/3 of his day inside because 1 - (1/3) = 2/3
Riley spends 12 hours inside because 18 x (2/3) = <<18*(2/3)=12>>12
In total they spend 20 hours inside because 8 + 12 = <<8+12=20>>20
On average, they spend 10 hours inside because 20 / 2 = <<20/2=10>>10
#### 10