Question 752851
let distance between two city A and B is x km
speed =distance/time 
time =distance /speed 
let first case 
t1 =x/105
and same way   t2= x/95
as per given conditions  we can say
t1+t2 =8
x/105 +x/95 =8
95x+105x/95multiplied by 105 =8
200x=8x95x105
x=399 km
distance between two town is 399 km
ANSWER