I've been having a bit of trouble understanding the formula
$$\frac{x-\sqrt x}{\sqrt x-1} \cdot \frac{\sqrt x+1}{\sqrt x+1}$$
Apparently it equals sqrt(x) but I have no clue how to get that. Whenever I multiply it out I get
$$\frac{(x-\sqrt x)(\sqrt x+1)}{x-1}$$
How do I simplify it further?
Thank you so much!
For the sake of this question not remaining in the unanswered queue ...
The second fraction is 1 and the first fraction is \begin{eqnarray*} \frac{\color{red}{\sqrt{x}}(\sqrt{x}-1)}{(\sqrt{x}-1)}. \end{eqnarray*}