A motorboat traveling with the current went 9mi in 1 h against the current it took 3h to travel the same distance find the rate of the boat in calm water and the rate of the current