If f is a function satisfying f(x)+xf(1-x) = 1+x^2 for all real x, then f(6) may be written in the form -p/q for relativley prime positive integers p and q. Find p+q.
As follows: