Let y be the position of Car A, and let y be the position of Car B.
Let d be the distance between the two cars.
Then d2 = 102 + 152 = 100 + 225 = 325
d = √325 = 5√13
(d2)' = 2d * d' = 2d' * 5√13
d = x2 + y2
(x2 + y2)' = 2xx' + 2yy'
Dividing both sides by 2,
dd' = xx' + yy'
d' = (xx' + yy')/d
d' = (15*120 + 10*50)/d = (1800 + 500)/d
d' = (2300)/(5√13) = 460/√13
d' = 460*√13/13 ≈ 127.58 km/hr
Does the complete problem ask for 2 decimal places of accuracy? 127.58 km/hr
Do you need an exact answer? 460*√13/13 km/hr