Condition 1: ∣z−1∣≤1 means (a−1)2+b2≤1.
Since a,b are integers: possible points are (0,0),(1,0),(2,0),(1,1),(1,−1).
Check: (0,0): (0−1)2+0=1≤1 ✓. (1,0): 0≤1 ✓. (2,0): 1≤1 ✓. (1,1): 0+1=1≤1 ✓. (1,−1): 0+1=1≤1 ✓.
Condition 2: ∣z−5∣≤∣z−5i∣, i.e., (a−5)2+b2≤a2+(b−5)2.
a2−10a+25+b2≤a2+b2−10b+25
−10a≤−10b⟹b≤a.
From the 5 points, those with b≤a:
(0,0): 0≤0 ✓. (1,0): 0≤1 ✓. (2,0): 0≤2 ✓. (1,1): 1≤1 ✓. (1,−1): −1≤1 ✓.
All 5 points satisfy both conditions.
Sum of ∣z∣2: 0+1+4+2+2=9.