Easy Question - Simple Interest, Simple Discount

Looking over a text, it asks to prove that a simple discount rate is equivalent to a simple interest rate where . The solution in the book does this by setting total interest (where is the principal, and time) equal to the discount (where is the amount of the loan, and the discount rate) and set the principal of the interest equal to the proceeds of the loan, both represented by . They then solve for .

With those assumptions in place, I totally get the math. But what I guess I don't understand about the problem is, why would we set these equal to each other? In what sense are we showing that the two are equivalent? Since the principal of the investment is what you start with before accruing any interest, I would think that we would equate this with , the total loan amount before interest discounts.