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:
1.6m questions
2.0m answers