\
Step 1 :
\If the initial point is
and the terminal point is
, then
the position vector is
Step 2 :
\The points are
and
.
The position vector is 
Substitute the points
and
in above equation.

The position vector is 
Solution :
\The position vector is 