Rate that two objects are moving away from each other [closed]

Question :

Two trains start from the same station at the same time. One goes due north at 30 miles per hour, and the other due north-east at 20 miles per hour. At what rate is the distance between them increasing after $1/4$ hours?

I need to find the speed that these two trains $T_1$ and $T_2$ are moving away from each other at time $t = \frac{1}{4}$ hours, given: From that image then, in order to find the rate that line $DB$ changes, I need to find the rate that $AB$ changes, and the rate that $AD$ changes.

For $AB$, this is only dependent on $T_1$, so I have :

$$\frac{dx}{dt} = \Delta s \times \frac{1}{\sqrt{2}}$$

Where $\Delta s = 20 mph$ and at 15 minutes this would be $\Delta s = 4$, giving

$$\frac{dx}{dt} = 4$$

For $\frac{dy}{dx}$ I have to find the difference between the change in $y$ for $T_2$ and the change in $y$ for $T_1$.

For $T_2$ I have $$\frac{dy}{dx} = \Delta s \times \frac{1}{\sqrt{2}}$$

For $T_1$ I have, at $t = \frac{1}{4}$ hours

$$\frac{dy}{dx} = 7.5$$

Then the overall change in $y$ would be

$$\frac{dy}{dx} = 7.5 - 4 \times \frac{1}{\sqrt{2}} = \frac{15 - 4\sqrt{2}}{2} \approx 4.67$$

From this I have a triangle as Which gives the change of $DB$ as

$$\frac{d(DB)}{dt} = \sqrt{4^2 + 4.67^2} \approx 6.149$$

I think the above makes sense, but I'm not confident about the approach.

closed as off-topic by John Rennie, Kyle Kanos, ZeroTheHero, Yashas, Jon CusterApr 30 '17 at 18:20

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "Homework-like questions should ask about a specific physics concept and show some effort to work through the problem. We want our questions to be useful to the broader community, and to future users. See our meta site for more guidance on how to edit your question to make it better" – John Rennie, Kyle Kanos, ZeroTheHero, Yashas, Jon Custer
If this question can be reworded to fit the rules in the help center, please edit the question.