连接AE,PE
直角三角形ADE和AFE全等,AF=AD=5,EF=DE=3
设FP=X,CP=Y
则CE=2,BP=5-Y,AP=5+X
2方+X方=3方+Y方,X方-Y方=5
(5+X)方=5方+(5-Y)方
5方+10X+X方=5方+5方-10Y+Y方
X方-Y方+10X+10Y=5方,10X+10Y=20,X+Y=2
X-Y=5/2
得X=9/4
则AP=5+9/4=29/4
连接AE,PE
直角三角形ADE和AFE全等,AF=AD=5,EF=DE=3
设FP=X,CP=Y
则CE=2,BP=5-Y,AP=5+X
2方+X方=3方+Y方,X方-Y方=5
(5+X)方=5方+(5-Y)方
5方+10X+X方=5方+5方-10Y+Y方
X方-Y方+10X+10Y=5方,10X+10Y=20,X+Y=2
X-Y=5/2
得X=9/4
则AP=5+9/4=29/4