solve t+1=x(t^2(t-1)) for t