Two​ high-speed ferries leave at the same time from a city to go to the same island. The first​ ferry, the​ cat, travels at 34 miles per hour. The second​ ferry, the​ bird, travels at 24 miles per hour. In how many hours will the two ferries be 40 miles​ apart?