Solve for a d=-f^3+1/4ta