What is the value of f(r) if f(x)=3x²-2x+2?