The system of equations y=∣x+a∣ and y=b has two distinct solutions. If the sum of the x-coordinates of these solutions is 6, what is the value of a?
−6
−3
3
6