Simplify the following polynomial expression:
$$3x^2 + 2x + 4 - (x^2 - 3x + 1)$$
Which of the following is the simplified form of the expression?