Compose f with itself by substituting the whole rule f(x)=x+11 into f wherever it expects its input.
f(f(x))=f(x)+11=x+11+11
Write the denominator over a common denominator, x+11+1=x+1x+2, then take the reciprocal of that fraction.
f(f(x))=x+2x+1
The first application requires x=−1. For the second, find where the inner output would be −1:
x+111x=−1=−(x+1)=−2.
Thus the simplified formula applies only for x=−1 and x=−2, retaining both restrictions.