Two cars leave at the same time from points A and B, the distance between them is 280 km. If the cars meet each other, they’ll meet in 2 hours. But if they go in the same direction, then the car going from point A will catch up with the car going from point B in 14 hours. What is the speed of both of the cars?