Using the binomial theorem, the expressions (x+1)6 and (x−1)6 can be expanded as
(x+1)6=6C0x6+6C1x5+6C2x4+6C3x3+6C4x2+6C5x+6C6
(x−1)6=6C0x6−6C1x5+6C2x4−6C3x3+6C4x2−6C5x+6C6
Now,
(x+1)6+(x−1)6
=2[6C0x6+6C2x4+6C4x2+6C6]
=2[x6+15x4+15x2+1]
Now by substituting x=2, we get
(2+1)6+(2−1)6
=2[(2)6+15(2)4+15(2)2+1]
=2(8+60+30+1)
=2(99)
=198