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 70 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 70 km more than the other , 25 x â € “ 20 x = 70 5 x = 70 x = 14 hours as the two trains are moving towards each other , relative speed = 20 + 25 = 45 km / hr therefore , total distance = 45 * 14 = 630 km . answer : a"
multiply(add(20, 25), divide(70, subtract(25, 20)))