$g(w)=w^{4}+pw^{2}+qw+r,$