A triangle has a perimeter of 3070 mi. The shortest side measures 73 miles less than the middle side, and the longest side measures 374 mi more than the middle side. Find the length of the three sides