There is a function $f$, defined and continuous for all real $x$, which satisfies the equation of the form $$\int_0^x f(t)\,dt = \int_x^1 t^2f(t)dt + \frac{x^{16}}{8} + \frac{x^{18}}{9} + c,$$
I tried to differentiate both sides giving me $f(t) = t^2 f(t) + 2x^{15} + 2x^{17}$, and $f(t) = (2x^{15}+2x^{17})/(1-x^2)$. The answer should be $2x^{15}$, I can't think of any way how to make it happen. Any help?