The perimeter of the pentagon is irrelevant. The distance is equal to the length of the hypotenuse of a triangle with legs of length 40 and 50 units. By the Pythagorean theorem,
6.2m questions
8.2m answers