Calculer $\left(\cos\dfrac{\pi}{5}+\sin\dfrac{\pi}{5}\right)^2+\left(\cos\dfrac{\pi}{5}-\sin\dfrac{\pi}{5}\right)^2$.

