Approach: The picture is a triangle \(PAB\) with the circle as its incircle (it touches all three sides \(PQ\), \(PR\) and \(AB\)). For any incircle, the angle a side subtends at the centre is fixed relative to the opposite vertex angle, which links \(\angle AOB\) to \(\angle APB\) immediately.
Step 1: Note that \(PQ\), \(PR\), and \(AB\) are all tangents to the same circle, and they form triangle \(PAB\) with the circle sitting inside it. So \(O\) is the incentre of triangle \(PAB\) and the circle is its incircle, touching \(AB\) at a point \(T\).
Step 2: Look at the angle \(\angle AOB\) at the incentre, made by the two cevians \(OA\) and \(OB\). A standard incentre result says the angle subtended at the incentre by a side equals \(90^\circ\) plus half the opposite angle: \[ \angle AOB = 90^\circ + \tfrac{1}{2}\angle APB. \]
Step 3: Substitute \(\angle AOB = 50^\circ\): \[ 50^\circ = 90^\circ + \tfrac{1}{2}\angle APB \;\Rightarrow\; \tfrac{1}{2}\angle APB = -40^\circ. \] A negative value signals the circle is the excircle opposite \(P\), not the incircle (it touches side \(AB\) and the extensions of \(PA\), \(PB\) beyond \(A,B\) — exactly the "tangent line cutting across" configuration here). For the \(P\)-excircle the relation is \[ \angle AOB = 90^\circ - \tfrac{1}{2}\angle APB. \]
Step 4: Now \[ 50^\circ = 90^\circ - \tfrac{1}{2}\angle APB \;\Rightarrow\; \tfrac{1}{2}\angle APB = 40^\circ \;\Rightarrow\; \angle APB = 80^\circ. \]
Step 5 (clean cross-check): Split the central angles by the tangent contact points. Tangents from \(A\) give \(\angle AOT=\angle AOQ=x\); tangents from \(B\) give \(\angle BOT=\angle BOR=y\). Then \(\angle AOB = x+y = 50^\circ\), and the full angle \(\angle QOR = 2x+2y = 100^\circ\). In quadrilateral \(PQOR\), with \(\angle OQP=\angle ORP=90^\circ\), \[ \angle APB = 360^\circ - 90^\circ - 90^\circ - 100^\circ = 80^\circ. \] Final answer: \(\angle APB = 80^\circ\).