Let the function $f(x)$ be defined as follows:
$$f(x) = 3x^2 - 2x + 1$$
Calculate the values of Quantity A and Quantity B:
Quantity A: $f(2)$
Quantity B: $f(3)$