The time taken by a person to cover a certain distance on a motorboat when travelling downstream is 4 hours, while the same distance is covered in 5 hours upstream. If the speed of the stream is 2 kmph, then find the speed of the motorboat in still water.