If you are having difficulty with these, then you are over-thinking the problem. These are nothing more than a fancy way to express an arithmetic problem.
in general, for the given function
Get the idea?
John
My calculator said it, I believe it, that settles it