Trong Ví dụ 3, tính \(\left(\overrightarrow{a}+\overrightarrow{b}\right)^2\).