In Arcadia, the library is 6.5 miles south of the courthouse and 5.7 miles west of the community swimming pool. If a bird flew directly from the courthouse to the library, then from the library to the swimming pool, and then from the swimming pool back to the courthouse, what would be the total distance flown? If necessary, round to the nearest tenth.