╭ p = some point ╮ │ 1 │ │ p = some other point │ │ 2 │ Given │ distance= (p - p ) │, our new point = p + distance · ratio │ 2 1 │ 1 │ percentage │ │ ratio= ─────────── │ ╰ 100 ╯