24,950-400,000× 5.60% This is the amount of interest paid if all loans from B are used.
Divide the above values by 6.45%-5.60%.
This is the amount of high-interest loans.