Places A and B are 100km apart on the highway. One car starts from A and another from B at the same time. If the car travel in same direction at a different speed, they meet in 5hrs. If they travel towards each other, they meet in 1hr. What are the speeds of the two cars?