A and B departed from a town together for another town 45 km away. If the speed of A is 1 km/h more than that of B, he reaches his destination half an hour earlier than B. Find the speed of A and B.

A and B departed from a town together for another town 45 km away. If the speed of A is 1 km/h more than that of B, he reaches his destination half an hour earlier than B. Find the speed of A and B.

Here is another way: S = Speed of B S+1 =Speed of A T = Time of arrival. 45/S = T........................(1) 45/(S+1) =T - 1/2.........(2), solve for S, T S =9 km/h - speed of B T = 5 hours - time of B 9+1 =10 km/h - speed of A 5 - 1/2 =4 1/2 hours - time of A