My solution to the quasipolynomial problem was missing the second part; I have posted a revised version. C