We divide the quadrilateral \(ABCD\) into two triangles, \(ABC\) and \(ACD\), using the diagonal \(AC\).

$$\begin{aligned}\text{Sum of the angles of quadrilateral } ABCD &= \text{Sum of angles of } \triangle ABC + \text{Sum of angles of } \triangle ACD \\&= 180^\circ + 180^\circ \\&= 360^\circ\end{aligned}$$