Draw a figure with the farm on the y axis and the city on the x axis.
Let x be the point where the dirt road joins the highway.
Then (1/20)sqrt(16+x2)+(1/55)(9-x) = T, i.e. time = distance/rate
dT/dx = (1/20)(x/sqrt(16+x2) - (1/55)
At the critical point
x2/(16+x2) = (20/55)2 = c2
x2(1-c2) = 16c2
x= 4c/sqrt(1-c2)