Let distance by foot is Xkm in t hours By cycle is 25−Xkm in 4−t hours Distance = speed × time ⇒X=3.5×t ⇒25−x=9×(1−t) ⇒25−3.5t=36−9t ⇒5.5t=11 t=2 X=3.5×2=7km (Distance by foot) By cycle =25−x in 4−t hours ⇒4−2=2 hours ⇒25−x=25−7 =18km (Distance by cycle)