Simplify $(\sqrt{x}) + x + 2 = (\sqrt{y}) + y + 2$ $\sqrt{x} + x + 2 = \sqrt{y} + y + 2$
I've simplified as follows:
$\sqrt{x} + x = \sqrt{y} + y$, square both sides
$x + x^2 = y + y^2$
It seems obvious that $x = y$ but I can’t get to that solution by algebraic means.

This is the correct formula if you want to square: $ (\sqrt{x} +x)^2 = x^2 + 2x\sqrt{x} +x$.
