1a) Finding f(2) means that you have to substitute 2 for the variable x. So,
when you substitute, the equation becomes f(2)=-3(2)+7. Then just do the math:
f(2)=-6+7, and then: f(2)=1. Voila!
1b) Just do the same thing: substitute for x, then do the math.