X = -1
This is because when you multiply 2 to the -1 power, it is negative because a positive times a negative is always negative. And 1/2 by the same -1 is -1/2