A ship leaves the Port of Miami and travels due east toward the Bahamas for 3 miles. The ship turns due south and travels for some distance. The captain then looks back and determines that the ship is directly 10 miles from the starting point at the Port of Miami. How many miles did the ship travel south before the captain checked the distance to the Port of Miami? Round your answer to the nearest tenth. the