new vector that is fraction of distance between 2 points

hi
looking to create a vector as location that is a fraction of the distance between 2 locations as points
so, i want to (create) a vector as location that mid way between 2 points A and B
what would be the easiest way to do this

regards

image