8: You should get

Note: The calculation are a bit easier if you write f as 3 − 4/(x + 2).

Answer