Find the value of a if the solutions to x+2=0 and 3x-2(x-a)=8 are equal