Dynamic collective theory of the quadrupole giant resonance in deformed nuclei