Thanks for your help, this is related to this question
The calculation is: $\lambda A+(1−\lambda)B$ for $\lambda \in[0,1]$
With $A = (0,0)$ and $B = (2,4)$
I am no mathematician, so if you could show the steps to the solution, I would be most grateful.
Cheers, Rudy
You can parametrize the segment joining $(0, 0)$ to $(2, 4)$ as $\{(t, 2t) : 0 \leq t \leq 2\}$. Hope this helps!