A motorboat traveling with the current went 80 miles in 4 hours. Against the current, it took 5 hours to travel the same distance. Find the rate of the motorboat in calm water.