Touching circles and lie in a right-angled triangle with the hypotenuse and legs and in such way, that the sides , are tangent to and the sides , are tangent to . Find radii and , if . (Pavel Novotný)

Touching circles and lie in a right-angled triangle with the hypotenuse and legs and in such way, that the sides , are tangent to and the sides , are tangent to . Find radii and , if . (Pavel Novotný)

The hypotenuse has length with respect to Pythagoras' theorem. Then for angles in the triangle there is , ,
Since both circles whole lie in the triangle , they are externally tangent—in the opposite case the leg tangent to the smaller circle intersects the greater circle. Let circles and touch the side at points resp. and let point be orthogonal projection of the point to the element (Fig. 1, under assumption is ). Using Pythagoras' theorem for a triangle we obtain
which follows .
An equality gives
and since we obtain
which follows