a)= 2021.2021-2020.(2021+1)
= 2021.(2020+1)-2020.(2021+1)
= (2021.2020)+2021-(2020.2021)-2020
= 1
b) B= (1+2-3-4)+(5+6-7-8)+(9+10-11-12)...........+(2017+2018-2019-2020)+2021
B= -4+(-4)+....................(-4)+2021
B= -4x505+2021
B= -2020 + 2021
B = 1