Let A be (4,−2,5) and B be (−2,3,7)
Let P(x,y,z) be points that divide the line in ratio 8:5 externally.
we know that
Co-ordinate of point P(x,y,z) that divides the line segment joining A(x1,y1,z1) and B(x2,y2,z2)externally in the ratio
m:n is:
p(x,y,z)=(mx2+nx1m+n,my2+ny1m+n,mz2+nz1m+n)
=(8.(−2)+5(4)8+5,8(3)+5(−2)8+5,8(7)+5(5)8+5)
=(−16+2013,24−1013,56+2513)
=(413,1413,8113)