For reference: Let a circle $\omega$ (not labelled in the graph) centered at $P$ tangent to $AB$, and $T$ is point of tangency. $\angle APB=90^\circ$. Let $K$ (not labelled in the graph) be some point on the circle $\omega$, the semicircle with diameter $BK$ intersects $PB$ at $Q$. Let $R$ be the radius of that semi-circle. If $4R^2-AT\cdot TB=10$ and $PQ=\sqrt2$, calculate $BQ$.(Answer:$2\sqrt3$)
My progress: $PT \perp AB\\ \triangle PTB:BT^2+PT^2 = PB^2\\ PT^2+AT^2=PA^2\\ PB=PQ+QB$ ???....



Since $Q$ be the intersection of semi-circle and $BP$, we have $KQ\perp BP$. So, we have $KP^2-BK^2=(KP^2-QK^2)-(BK^2-QK^2)=PQ^2-BQ^2$. Notice that $\angle APB=90^\circ$ and $TP\perp AB$, we have $KP^2=KT^2=AT\times TB$, and $BK^2=4R^2$. So we have $BQ^2=PQ^2+(BK^2-KP^2)=PQ^2+(4R^2-AT\times TB)=2+10=12$, thus $BQ=2\sqrt 3$.