In a triangle $\triangle ABC$ the cevian $AO$ and the incircles of the triangles $\triangle ABO$ and $\triangle AOC$ are traced. Then the two excircles opposite to the vertex A are drawn and with the tangent common to these two excircles a new triangle $\triangle ADE$ is formed. We Note $r$ and $R$ the radii of the red circles in the attached figure and $g$ and $G$ the radii of the green circles.
Prove that $$\frac 1r+\frac 1R=\frac 1g+\frac 1G$$


Let $S_{\Delta ABO}=S_1$, $S_{\Delta ACO}=S_2$, $AB=c$, $AC=b$, $BO=a_1$, $CO=a_2$ and $AO=m$.
Thus, $$r=r_{\Delta ABO}=\frac{2S_1}{c+m+a_1},$$ $$R=\frac{2S_2}{b+m-a_2},$$ $$g=r_{\Delta ACO}=\frac{2S_2}{b+m+a_2}$$ and $$G=\frac{2S_1}{c+m-a_1}.$$ Thus, we need to prove that: $$\frac{c+m+a_1}{S_1}+\frac{b+m-a_2}{S_2}=\frac{m+b+a_2}{S_2}+\frac{c+m-a_1}{S_1}$$ or $$c+m+a_1+\frac{S_1}{S_2}(b+m-a_2)=\frac{S_1}{S_2}(b+m+a_2)+c+m-a_1$$ or $$c+m+a_1+\frac{a_1}{a_2}(b+m-a_2)=\frac{a_1}{a_2}(b+m+a_2)+c+m-a_1,$$ which is obvious.