Artificial intelligent assistant

A car is headed towards a wall, how long until the car hits the wall. A car is travelling towards a wall at a rate equal to its distance from the wall. How long until the car hits the wall?

PARTIAL SOLUTION:

Let $y$ represent the distance from the car to the wall and $t$ be the time elapsed. Then you have $$\frac{dy}{dt}=-y$$ $$\frac{dt}{dy}=-\frac{1}{y}$$ $$t=-\int\frac{dy}{y}$$ $$t=-\ln y+C$$ $$y=e^{-t+C}$$ Since the starting distance is $100$ feet, then you can substitute $100$ for $y$ and $0$ for $t$ to find $C$: $$100=e^{C}$$ $$C=\ln 100$$ and so $$y=100e^{-t}$$ Can you use this to solve for the amount of time after which the distance was $10$ feet?

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 743bf6ae1f3d53c39295ef1a8c4c7750