Question 53687
hours = x
distance traveled by Maretti - 85x
distance traveled by Khan - 95x

However, we know that the Maretti family has a 40 km lead. So:

{{{85x + 40 = 95x}}}
{{{40 = 10x}}}
{{{x = 4}}}


So they'll have traveled the same distance after 4 hours (counting from the moment the Khan family left). That is 95*4=380 km traveled.