Cos2a+(cos5a+cosA)=cos2a+2cos[(5a+a)/2]*cos[(5a-a)/2]=
=cos2a+2cos3a*cos2a
4cos2acos(π/6+3a/2)cos(π/6-3a/2)=
=4cos2a*1/2(cos(π/6+3a/2-π/6+3a/2)+cos(π/6+3a/2+π/6-3a/2))=
=2cos2a*(cos3a+cosπ/3)=2cos2a(cos3a+1/2)=
=2cos2a*cos3a+cos2a
cos2a+2cos3a*cos2a=2cos2a*cos3a+cos2a