It is known that AB is opposite to each other, CD is reciprocal to each other, and the absolute value of X is equal to 2. Find the value of formula (a + B + CD) △ X

It is known that AB is opposite to each other, CD is reciprocal to each other, and the absolute value of X is equal to 2. Find the value of formula (a + B + CD) △ X

AB is opposite to each other
So a + B = 0
CD is reciprocal to each other
So CD = 1
The absolute value of X is equal to 2
|x|=2
X = 2 or x = - 2
So x ^ 2 = 4
x^2—(a+b+cd)x+(a+b)^2007+(-cd)^2008
=4-(0+1)*x+0^2007+(-1)^2008
=4-x+0+1
=5-x
So if x = 2, then the original formula = 5-2 = 3
If x = - 2, then the original formula = 5 - (- 2) = 5 + 2 = 7