Polynomial solution