Inradius of a square

$$r = \frac{a}{2}$$
Find   It is known that:
      =