## Vanderlei Lamb and the Marathon

Being *x* the total distance of the route, we can say that Vanderlei had already traveled *(2/5) * x*.

As there were still 40km to reach halfway (*x / 2*), we can form the following equation:

x / 2 = (2/5) * x + 40

Calculating the least common multiple, we have:

5x **/ 10** = (4x + 400) **/ 10**

5x-4x = 400

x = 400

**Answer: The total distance was 400km.**

Back to statement