A={2,5,x+2},B={-4,x-2,x2-2x-3},若A交集B={2,5},求x=?