Structuring an M&A deal