We know that,
cos4x=2cos22x−1
2cos22x=1+cos4x
cos22x=1+cos4x2
Squaring both side and we get,
(cos22x)2=(1+cos4x2)2
cos42x=1+cos24x+2cos4x4