size(400);
pair bpt(pair V, pair P1, pair P2, real r){
real a1 = degrees(P1-V);
real a2 = degrees(P2-V);
real amid = (a1+a2)/2;
return V + r*dir(amid);
}
pair B = (0,0), C = (6,0);
pair A = (-2.638156, 3.144032);
pair P = (-0.192533, 1.091911);
pair G = (A + B + C) / 3;
draw(A--B--C--cycle);
draw(P--A); draw(P--B); draw(P--C);
// --- Cozumun geri kalani (kirmizi) ---
pair O = (-3.192532, 0); // ABP nin cevrel merkezi
draw(O--B, red); // O, B, C dogrusal (dogru CB uzerinde)
draw(O--A, red); // OA yaricapi
draw(O--P, red); // OP yaricapi
dot("$O$", O, unit(O-G), red);
dot("$A$", A, unit(A-G));
dot("$B$", B, unit(B-G));
dot("$C$", C, unit(C-G));
dot("$P$", P, unit(P-G));
markangle("", P, B, A); // ABP
markangle("", C, B, P, radius=0.4, black); // PBC
markangle("$30^{\circ}-2t$", P, C, B); // BCP
markangle("$t$", B, A, P); // BAP
markangle("$2t$", B, O, P, red);
markangle("", P, O, A, red);
label("$30^\circ$", bpt(B,A,P, 0.75), black);
label("$90^\circ + t$", bpt(B,C,P, 0.75), black);
label("$60^\circ $", bpt(O,A,P, 0.85), red);