someone can help me with 31 & 33? i need help

31. It gives you the equation f(x) = -2x + 4 and asks you to solve for f(12). To solve this you must replace x in the equation -2x + 4 with 12 like so:
-2(12) + 4
Remember that when solving this use your rules of PEMDAS. In this case you will first multiply -2 and 12 then add the product with 4
-24 + 4
f(12) = -20
33. Replace x in the equation x³ - x with 5 like so...
5³ - 5
Again, remember to use the rules of PEMDAS to solve this. First take the cube of 5 then subtract 5 from the answer
125 - 5
g(5) = 120
Hope this helped!
~Just a girl in love with Shawn Mendes