a, (x + 1) + (x + 4) + ... + (x + 28) = 155
<=> (x + x + ... + x) + (1 + 4 + ... + 28) = 155
<=> 10x + 145 = 155
<=> 10x = 10
<=> x = 1
b, (x + 9) + (x - 2) + (x + 7) + (x - 4) + ... + (x - 8) + (x + 1) = 95
<=> (x + 9 + x + 7 + ... + x + 1) + (x - 2 + x - 4 + .. + x - 8) = 95
<=> (5x + 25) + (4x - 20) = 95
<=> (5x + 4x) + (25 - 20) = 95
<=> 9x + 5 = 95
<=> 9x = 90
<=> x = 10
@láo như cáo