Two ghats are located on a riverbank and are 21 km apart. Leaving one of the ghats for the other, a motorboat returns to the first ghat in 270 minutes, spending 40 min of that time in taking the passengers at the second ghat. Find the speed of the boat in still water if the speed of the river flow is 2.5 km/h.