If point A and point B are divided by a ratio of m:n , they may be considered to be internally divided, or externally divided.
Formula For Point Of Internal Division
P = ( [mx2 + nx1] / [m + n] ) , ( [my2 + ny1] / [m + n] )
Formula For Point of External Division
The same concept is used, but where the ratio is m:n, you have to make either m or n negative. I'd prefer to go with the 2nd number, as it has a more natural feel about it.
Hence:
P = ( [mx2 - nx1] / [m + n] ) , ( [my2 - ny1] / [m + n] )