A boat travels upstream for 96 miles in 4 hours and returns in 3 hours traveling downstream in a river. What is the rate of the boat in still water and what is the rate of the current?