simplify (sqrt(x)+1)/(sqrt(x)-1)

(√x+1)/(√x-1)

multiply top and bottom by √x+1 and you have

(√x+1)(√x+1) / (√x-1)(√x+1)

(x+2√x+1) / (x-1)