derivative of sqrt{(A1-(v*t+B1))^2+(A2-B2)^2} with respect to t