Potential energy of a charged plane capacitor

$$W = \frac{q^{2}}{2\cdot C}$$
Find   It is known that:
      =