Question 19Square $ABCD$ has vertices $A,B$ on the circle centred at $O$ of radius 1, as shown. A circle centred at $O_1$ with radius $r$ is tangent to $(O)$, segment $PD$ and $AD$. Find $r$.