Inradius of triangle

$$r = \frac{S}{p}$$
Find   It is known that:
      =