[y = x^4 + x^2 + 24x] and [y = 6x^3 + 20]