Question 461152
The conditions given would yield a right triangle with one leg being 5 cm long and the other leg 10 cm long.

The required distance is the length of the hypotenuse of this right triangle

{{{sqrt(10^2 + 5^2) = sqrt(100+ 25) = sqrt(125) = 5sqrt(5)}}} cm.