Question 1162568
.
<pre>

500 + 8*d = 40000   dollars.


d = {{{(40000 - 500)/8}}} = 4937.5 feet.      <U>ANSWER</U>
</pre>

Solved.