设集合A={x|x²-3x+2=0},B={x|x²+2(a+1)x+(a²-5)=0},