Let \(\hat a\) and \(\hat b\) be two unit vectors such that the angle between them is \(\frac{\pi}{4}\). If θ is the angle between the vectors (\(\hat a\)+\(\hat b\)) and (\(\hat a\)+2\(\hat b\)+2(\(\hat a\)×\(\hat b\))), then the value of 164 cos2θ is equal to :