Given a Pythagorean triple with an incircle, how do I find the sides of a triangle connecting the triple's tangents to that incircle. In the diagram below, I know how to find side $\,i\,$ but not the other two.
How do I find point $\,H\,$ coordinates or is there some other way to find the lengths of segments $\,j\,$ and $\,k$?
$\textbf{Update: }$ From a comment by Calvin Lin, I have inferred that, if we let vertex circle radii moving counterclockwise from the upper right be $\quad r_1=5\quad r_2=12\quad r_3=3\quad$ we can get the $H$-values as follows.
\begin{align*} X_H =\dfrac{r_2}{r_1+r_2}\cdot(r_2+r_3) =\dfrac{A(A-B+C)}{2C} =\dfrac{180}{17} \\\\Y_H =\dfrac{r_2}{r_1+r_2}\cdot(r_1+r_3) =\dfrac{B(A-B+C)}{2 C}=\dfrac{96}{17} \end{align*} so
\begin{align*} i&=\sqrt{(15-12)^2+(3-0)^2}=3\sqrt{2}\\ \\ j&=\sqrt{\bigg(12-\dfrac{180}{17}\bigg)^2+\bigg(\dfrac{96}{17}-0\bigg)^2} =\dfrac{24}{\sqrt{17}}\\ \\ k&=\sqrt{\bigg(15-\dfrac{180}{17}\bigg)^2+\bigg(\dfrac{96}{17}-3\bigg)^2} =15\sqrt{\dfrac{2}{17}} \end{align*}
Thank you Calvin Lin.


With $(m,n)$ integers, and $m>n$ then $a = m^2-n^2, b = 2mn, c = m^2+n^2$ form a $Pyhagorean triple.$
For the $(15,8,17)$ triangle $m=4, n=1$
The perimeter of this triangle is
$p = a+b+c = m^2 - n^2 + 2mn + m^2+n^2 = 2m(m + n)\\ s = \frac 12 p = m(m+n)\\ r = \frac {ab}{p} = \frac {(m^2-n^2)(2mn)}{2m(m+n)} = n(m-n)\\ s-a = m(m+n)-m^2+n^2 = n(m+n)\\ s-b = m(m+n) - 2mn = m(m-n)$
$r$ is the radius of the in-circle if that was not clear.
$\tan \frac 12 A = \frac {r}{s-a} = \frac {n(m-n)}{n(m+n)} = \frac {m-n}{n+m}\\ \tan \frac 12 B = \frac {r}{s-b} = \frac {n(m-n)}{m(m-n)} = \frac {n}{m}$
$j = 2(s-a) \sin \frac 12 A = \frac {2n(m+n)(m-n)}{\sqrt {(m-n)^2 + (n+m)^2}} = \frac {2n(m^2-n^2)}{\sqrt {2m^2 + 2n^2}} = \frac {an\sqrt 2}{\sqrt{c}}$
$k = 2(s-b) \sin \frac 12 B = \frac {2mn(m-n)}{\sqrt {m^2 + n^2}} = \frac {b(m-n)}{\sqrt{c}}$
$i = (s-c)\sqrt 2 = n(m-n)\sqrt{2}$
With the $(15,8,17)$ triangle, $(i,j,k) = (3\sqrt 2, \frac {15\sqrt 2}{\sqrt {17}},\frac {24}{\sqrt {17}})$