f(x):
If we draw both the graphs in the same set of axes, the number of points where they intersect is the solution.
Check:
9.2m questions
11.8m answers