Find all real solutions for \(x\) in \(2(2^x- 1) x^2 + (2^{x^2}-2)x = 2^{x+1} -2\).
Looks like the solutions are x = -1, x = 0 and x = 1