A motorboat travels 265 kilometers in 5 hours going upstream and 696 kilometers in 8 hours going downstream. What is the rate of the boat in still water and what is the rate of the current?