Even term sum formula, odd term sum formula of arithmetic sequence Push to add result

Even term sum formula, odd term sum formula of arithmetic sequence Push to add result

a,a+b,a+2b,a+3b,a+4b,a+5b…… ,a+(n-1)b
1 2 3 4 5 6
Even number terms: a + B, a + 3b, a + 5b The first term is a + B and the difference is 2B
Then: and formula s=
Odd number terms: A, a + 2B, a + 4b , a + 2 (n-1) * B, that is, the arithmetic sequence with the first term a and the difference 2B
Then: and formula s=
I don't want to write the specific answers