This problem should be quite simple but I am having a hard time getting to the solution...
Imagine that I have the following path:
|--------|-----O--------|
A B C
Where O represents a car. Let's say that the Car is now 60% through the path A-C.
Knowing that B is 40% (regarding A-C), what is the distance (in %) covered on the path B-C?
$z$ the position of the car through A-C. The targeted percentage is : $\frac{z - B}{C-B}$ Why ? Because it's linear and you know that being at B is $0$ and being at C is $1$. If z stand for the percentage, then $C = 1$ and that is the same formula.