Find all functions \(f (x)\) defined for all real values of \(x\) and satisfying the equation \(2f (x) + f (1 - x) = x^2\).