3. $A, B, C$ are three points on line $l$, and $A B=B C=5$, and $P$ is a point outside line $l$, $\angle A P B=\frac{\pi}{2}, \angle B P C=\frac{\pi}{4}$. Then the distance from $P$ to line $l$ is $\qquad$
3. 2



Translate the text above into English, please keep the original text's line breaks and format, and output the translation result directly.