The Bermuda Triangle has a minimum estimated area of 500,000 square miles. It has vertices at Bermuda, Miami (Florida) and San Juan (Puerto Rico). The distance between Bermuda and Puerto Rico is estimated to be 976 miles and the distance between Bermuda and Miami as 1040 miles. The angle between these distances is obtuse. Find this angle and the total perimeter of the Bermuda Triangle.