Practice: range of function

Question

Answer