First, draw a graph of x and y axis
Y
|-----/ A(x, y)
|----/
|---/
|--/
|-/ 60
|/ B(a, 0)
O``````````````````> X
now, that 60 degrees is the angle of intersection.
The rate of change of the distance of A from the centre is 40 km/h.
The rate of change of A's x co-ordinate is 40(cos60)km/h
dx/dt = 40 (cos60)
The rate of change of A's y co-ordinate is 40(sin60)km/h
dy/dt = 40 (sin60)
The rate of change of a (B's x co-ordinate) is 50
da/dt = 50
Now, the distance between the two points are
D = sqrt( (x-a)^2 + y^2 )
D^2 = (x - a)^2 + y^2
D^2 = x^2 - 2ax + a^2 + y^2
2D (dD/dt) = 2x (dx/dt) + 2a (da/dt) + 2y (dy/dt) - 2a (dx/dt) - 2x (da/dt)
the above line used product rule : d(uv)/dx = u(dv/dx) + v(du/dx)
now that you've got the equation above, find out D (distance between A and B when it's 3 hours. A would be 120 km down one road while B would be 100 km down the other road.
hence,
x = 120 (cos60)
y = 120 (sin60)
a = 100
find D, (easy), and substitude all the value (including the dy/dxs) into the equation
2D (dD/dt) = 2x (dx/dt) + 2a (da/dt) + 2y (dy/dt) - 2a (dx/dt) - 2x (da/dt)
and tell me if the answer is right