To answer the question above, we let 8x be the amount loaned with 5% interest and x be the amount loaned at 7% interest. The amount of interest is calculated through the equation,
                   I = amount x rateÂ
The sum of these interest should be 9,400. The equations that would best represent the given scenario are,
       (8x)(0.05) + x(0.07) = 9400
The value of x from the given equation is,
               x = 20,000
Therefore, the company loaned $160,000 with 5% interest and $20,000 with 7% interest.Â
               Â