Find all real solutions for x in
\(2(2^x-1)x^2+(2^{x^2}-2)x=2^{x+1}-2\)
There are 3 solutions for x as follows:
x = 0, x = -1, and x = 1