AMC 10A/12A 2025 (Problem 25)

A point PP is chosen at random inside square ABCDABCD. The probability that AP\overline{AP} is neither the shortest nor the longest side of APB\triangle APB can be written as a+bπcde\frac{a+b\pi-c\sqrt{d}}{e}, where a,b,c,d,ea,b,c,d,e are positive integers, gcd(a,b,c,e)=1\gcd(a,b,c,e)=1, and dd is not divisible by the square of a prime. What is a+b+c+d+ea+b+c+d+e?
(A)  25\text{(A)}\;25(B)  26\text{(B)}\;26(C)  27\text{(C)}\;27(D)  28\text{(D)}\;28(E)  29\text{(E)}\;29