A boy can row 18km. downstream and return a distance of 16 km. upstream in 5hrs. If the rate of the current is 6km/hr, What is the boy's rate of rowing in still water?

since time = distance/speed,

18/(x+6) + 16/(x-6) = 5

Now just find x.