A man can row 40 km upstream and 55 km downstream in 13 hours. He can also row 30 km upstream and 44 km downstream in 10 hours. Find the speed of the boat in still water and the speed of the current.