Hey,
Nigitha , put x=1.
We have 23-[22-1]=8-[3]=5 on the L.H.S
and on the R.H.S we have 22+1=5
So,x= -1 is not the only answer. YOU ARE WRONG......!!!!!!!!
And Aditya, put x=0
L.H.S. = 22-[2-1]=4-1=3
R.H.S. = 2+1=3 , hence x=0 satisfies the equation.
YOU ARE WRONG ADITYA............!!!!!!!!!!!!