Area of a square using inradius

$$S = 4\cdot r^{2}$$
Find   It is known that:
      =