Encoding center back into two surround channels

How can I manually encode 6th channel into two surround channels to use it with Dolby Digital Surround Ex. I want to know how to manually encode additional channel into two discrete channels (surround speakers)