solve x



how to get 2 from this?

(%i2) solve([sqrt(x+2)=x], [x]);
(%o2)                          [x = sqrt(x + 2)]