x-lungimea drumului
2/3 din x= 2/3 * x= 2x/3 - prima data
x-2x/3= (3x-2x)/3= x/3 -restul
2/5 din x/3= 2/5 * x/3= 2x/15- a doua oara
x/3- 2x/15= ( 5x-2x)/15= 3x/15 - noul rest
1/5 din 3x/15= 1/5 * x/5= x/25 -a treia oara
3x/15- x/25= (15x-3x)/25= 12x/25 -noul nou rest
12x/25 =60
x=25*60/12
x=25 *5
x=125