a) 17 + x = -5 + 2x
=> x - 2x = -5 - 17
=> -x = -22
=> x = 22
b) 15 - 3x = -22 - 4x
=> -3x + 4x = -22 - 15
=> x = -37
c) 47 - (4x + 5) = -(3x - 2)
=> 47 - 4x - 5 = -3x + 2
=> -4x + 3x = 2 - 47 + 5
=> -x = -40
=> x = 40
d) -58 + (3 - 7x) = 15 - 8x
=> -58 + 3 - 7x = 15 - 8x
=> -7x + 8x =15 + 58 - 3
=> x = 70