If you draw the graph
you will see we have 3 lengths
x, 2x (twice the distance) and 350
and since this is a right-angled triangle ,we can use the Pythagoras theorem to determine the value of x.
x^2+(2x)^2=350^2
5x^2=122500
x^2=24500
taking the under root we get x=156.5 or 157