Quasi-Invariants of Dihedral Systems