A flexible wire is bent into a semicircular arc. ​The length of AB is 18 meters. ​ ​Find the length of the wire. Use 3.14 as an approximation for π .