Inradius of right (angled) triangle

$$r = \frac{a+b-c}{2}$$
Find   It is known that:
      =