Just think of it like this.
A+B are borrowing money and are on-lending to B.
A+B pay $X in interest for borrowing, but receive $X from B in income from the interest B pays A+B.
Net result is A+B's interest income is nil (interest out = interest in).
B's interest is $X
If B borrowed...