In Georgetown, the library is 8 miles due south of the courthouse and 6 miles due west of the community swimming pool. What is the distance between the courthouse and the community swimming pool?