Explanation:
It is given that,
= -40 mi/h,
= -40 mi/h
The negative sign indicates that x and y are decreasing.
We have to find
. Equation for the given variables according to the Pythagoras theorem is as follows.

Now, we will differentiate each side w.r.t 't' as follows.

or, 
So, when x = 4 mi, and y = 3 mi then z = 5 mi.
As, 
= 
= 
= 52
Thus, we can conclude that the cars are approaching at a rate of 52 mi/h.