Complex sentence: It would buy natural gas at market prices to sell it at a discount to Dynegy, with Dynegy reselling at market prices for $300 million in profit.
Split into simpler sentences: It would buy natural gas at market prices to then sell it at a discount to Dynegy. Dynegy would later resell it at market prices for $300 million in profit.