Find the Function f(x)=(3x^2-5x+1)^3