You have two pairs of conjugate pairs here.
(a+1)(a-1) = a2 -a + a -1 = a2 - 1
(a-5)(a+5) =a2-5a + 5a - 25 = a2 - 25
So, you have
(a2 - 1) + (a2 - 25) = 2a2 - 26
The pattern (a+b) (a-b) = a2 - b2 is called the difference of two squares. It is a very important formula, learn to recognize it. It will save you a lot of trouble.