A metal manufacturing company reduces the length of a 12.5-inch cylindrical rod, after which the rod measures 7.8 inches. How many inches was the rod shortened by?​