From two towns A and B, with distance 300km between them, at same time left two trains. We know that speed of one of the trains is with 10km/h faster than speed of the other one. Compute the speed of the two trains if 2 hours after their departure the distance between them is 40km.