A motorboat can travel 30 km upstream and 28 km downstream in 7 hours. It can travel 21 km upstream and return in 5 hours. Find the speed of the boat in still water and the speed of the stream.