P(m,1/2m+2),
AB=6,AP^2=(m+2)^2+(1/2m+2)^2,BP^2=(m-4)^2+(1/2m+2)^2,
∵∠APB=90°,
∴AB^2=AP^2+BP^2
2.5m^2+28=36
m^2=16/5,
m=±4√5/5.
P(m,1/2m+2),
AB=6,AP^2=(m+2)^2+(1/2m+2)^2,BP^2=(m-4)^2+(1/2m+2)^2,
∵∠APB=90°,
∴AB^2=AP^2+BP^2
2.5m^2+28=36
m^2=16/5,
m=±4√5/5.