Here, S1 = 8 km/h
and S2 = 16 km/h
∴ d1 =s1 x t1 = 8t1 ...(i)
and d2 = s2 x t2 = 16t2 ...(ii)
We know that,
t1 + t2 = 8 ...(iii)
and
d1 + d2 = 80 (given) ...(iv)
From Eqs.(i) and (ii) put the value of d1 and d2 in Eq. (iv), we get
d1 + d2 = 80
8t1 + 16t2 = 80
⇒ 8t1 + 8t2 + 8t2 = 80
8(t1 + t2) + 8t2 = 80
From Eq (iii),
8 x 8 + 8t2 = 80
8t2 = 80 - 64 = 16
⇒ t2 = 16/8 = 2h
∴ t1 = 8 - 2 = 6 h
∴ Distance travelled by foot = d1 = 8 x 6 = 48 km.