Find resultant vector of the summation of two vectors A and B having D between them