f (x) = -x^2+3x-2, x=4
Since x = 4, you will need to replace x with 4 every place that you have an x.
f(4) = -4² +3·4 - 2
f(4) = -16 + 12 - 2
f(4) = -6