This is the situation:

Graph solution - straight line

Applying the distance formula, we have:

`d=sqrt((x_2-x_1)^2+(y_2-y_1)^2)`

`=sqrt((2k-0)^2+(0-k)^2)`

`=sqrt(4k^2+k^2)`

`=sqrt(5k^2)`

Now `sqrt(5k^2)=10` so `5k^2=100`, giving:

k2 = 20

so

`k=+-sqrt(20)~~+-4.472`

We obtained 2 solutions, so there are 2 possible outcomes, as follows:

Graph solutions - 2 straight line

Please support IntMath!