A boat goes 40 km upstream in 8 hours and 36 km downstream in 6 hours. The speed of the boat in still water is :
[A] 5 km/hr
[B] 5.5 km/hr
[C] 6 km/hr
[D] 6.5 km/hr