I believe the answer to your equation would be
-x^2/3 + 14x/9 + 5/27 - 140/27(-3x+1)
also this is my 69th answer in math and I find that fact mildly interesting
7.8m questions
10.5m answers