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:
8.2m questions
10.8m answers