a) A = a + (42-70+18) - (42+18+a)
= a + 42 - 70 + 18 - 42 - 18 - a
= (a-a) + (42-42) + (18-18) - 70
= 0 + 0 + 0 - 70 = -70.
Vậy A = -70.
b) B = a + 30 + 12 - (-20) + (-12) - (2+a)
= a + 30 + 12 + 20 - 12 - 2 - a
= (a-a) + (12-12) + (30+20-2)
= 0 + 0 + (50-2)
= 50 - 2 = 48.
Vậy B = 48.
c) C = (x-y+z) - (x-y-z) - (2x+y)
= x - y + z - x + y + z - 2x - y
= (x-x-2x) + (-y+y-y) + (z+z)
= -2x + (-y) + 2z
= -2x - y + 2z.
Vậy C = -2x - y + 2z.