We draw diagram where C is the intersection of the two roads. At a given time t, let x be the distance from car A to C, let y be the distance from car B to C and let z be the distance between the cars A and B where x, y and z are measured in kilometers.
We are given that dx/dt = -50 km/hr and dy/dt = -60 km/hr
Note that x and y are decreasing and hence the negative sign.
We are asked to find dz/dt
The equation that relate x, y and z is given by the pythagoras theorem z2 = x2 + y2
Differentiating each side with respect to t,
We have
i.e.,
The cars approaching each other at a rate of 78 km/hr.