just plug in the sub, center, front right and left, real left and right to the labeled plugs. the center rear channel goes to the headphone jack on the front. Simple
To do Dolby DigitalEX you have to plug it in this way ot stream it to your HomeTheater receiver.
To do DTS-ES you have to stream it to your receiver with optical or Coax cable and has to be a compatable Software. PowerDVD supports DolbyDigital EX but DTSES I'm not sure.