f(f (x) )= f( (1-x)/(1+x) ) = (1-(1-x)/(1+x))/(1+(1-x)/(1+x))where you replace x by (1-x)/(1+x). Multiply the top and bottom of the fraction by (1+x) to get ((1+x)-(1-x))/((1+x)+(1-x)) which simplifies to 2x/2 = x. Hence you have shown f(f (x)) = x. f^−1 (x) = f(x) = (1−x)/(1+x), this is because f^−1(f(x)) = f( f^−1(x))= x.