the distance between towns a and b is 300 km . one train departs from town a and another train departs from town b , both leaving at the same moment of time and heading towards each other . we know that one of them is 10 km / hr faster than the other . find the speeds of both trains if 2 hours after their departure the distance between them is 40 km .