x-lungimea drumului
x/2 +2 -prima data
x-(x/2+2)= (2x-x-2)/2= (x-2)/2 -restul
1/3 * (x-2)/2 +3= (x-2)/6 +3= (x-2+18)/6= (x+16)/6 -a2a oara
(x-2)/2- (x+16)/6= (3x-6-x-16)/6= (2x-22)/6-noul rest
(2x-22)/6= 9
2x-22=54
2x=54+22
2x=76
x=38
este scris sub forma de fractie daca vezi \