10,000,000 (from sale) - 5,850,000(Macquerie) - 725,000(other notes) = 3,425,000 Surplus
Also note that Will is getting the acquisition for 100k less than previously PR'd so that leaves a surplus again after the closing.
There appears to be a discrepancy between the variables in your formula and mine. I have spelled it out. Would you be so kind to do the same? TIA