5: You should get
Note: The calculation are a bit easier if you write
f
as
2/(1 +
x
) − 1.
Answer