We are given the functional equation:
\[
2f(x) + f(1 - x) = x^2
\]
Step 1: Substitute \( x = 1 - x \)
Substitute \( 1 - x \) into the equation:
\[
2f(1 - x) + f(x) = (1 - x)^2 = 1 - 2x + x^2
\]
Step 2: Solve the system of equations
Now, we have the following system of equations:
\[
2f(x) + f(1 - x) = x^2 \quad \text{(1)}
\]
\[
2f(1 - x) + f(x) = 1 - 2x + x^2 \quad \text{(2)}
\]
Solve these equations to get:
\[
f(x) = x^2 + 2x - 1
\]
Thus, the correct answer is \( f(x) = x^2 + 2x - 1 \).