Find all real solutions for \(x\) in
\(2(2^x- 1) x^2 + (2^{x^2}-2)x = 2^{x+1} -2\)
HINT: First prove that \(2^x - 1\) and \(x\) have the same sign.
The solutions are x = 1, 2, and 4.