A new derivation of the generalized Courant-Snyder theory with coupling