Hello friend,here is the solution
Let x be the total distance
Distance travelled by rail = 3/5 x
Distance travelled by taxi = 1/4 x
Distance travelled by bus = 1/8 x
The equation we obtain is
========================
x = 3/5 x + 1/4 x + 1/8 x +2
______________________________________
hope this solution helps you......