a) A = {x\(\in\)Z|-5<x<10}
=> x= {-4,-3,-2,...,9,10}
=> (-4)+(-3)+(-2)+...+9+10
=> [(-4)+4]+[(-3)+3]+[(-2)+2]+...+9+10
=> 0+0+0+...+9+10
=> 5+6+7+8+9+10 = 45
b) B= {x\(\in\)Z|3<|x|<12}
=> x = {-4,-3,...,10,11}
=> [(-4)+4]+[(-3)+3]+[(-2)+2]+...+[(-11)+11]
=> 0+0+0+...+0
= 0