here's the solution::
let [x] be the distance of motor from intersection
[dx/dt] = 40 km/h
at the beginning, [x=40], but one hour later, [x=80]
let [y] be the distance of train from intersection
[dy/dt] = 50 km/h
at the beginning, [y=30], but one hour later, [y=80]
now
let D...