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,
7.9m questions
10.6m answers