two trains start at same time from two stations and proceed towards each other at the rate of 20 km / hr and 25 km / hr respectively . when they meet , it is found that one train has traveled 50 km more than the other . what is the distance between the two stations ?
explanation : let us assume that trains meet after ' x ' hours distance = speed * time distance traveled by two trains = 20 x km and 25 x km resp . as one train travels 50 km more than the other , 25 x â € “ 20 x = 50 5 x = 50 x = 10 hours as the two trains are moving towards each other , relative speed = 20 + 25 = 45 km / hr therefore , total distance = 45 * 10 = 450 km . answer : d
multiply(add(20, 25), divide(50, subtract(25, 20)))