ANSWER
5 years
Step-by-step explanation
The simple interest formula is,

Where
• i: interested accumulated
,
• P: principal amount
,
• r: annual interest rate
,
• t: time in years
In this problem we know that the principal amount P = 300, the interest rate is r = 7% and the accumulated interest i = 105. We have to find the time t in years,

Solving for t,

The loan was for 5 years.