First part:
P = $5100
r = 8.2% = 8.2/100 = 0.082
t = 3 years
The rule of the simple interest is
![I=\text{prt}](https://img.qammunity.org/2023/formulas/mathematics/college/qm7jwn5mor2s9266mz7s85gb62u85l3l53.png)
Substitute the given value in the rule
![\begin{gathered} I=5100(0.082)(3) \\ I=\text{ \$1254.6} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/dvkpumf0r0xkb8oc2tbfjxquzjtwe3725m.png)
The interest at the end of 3 years for a simple interest loan is $1254.60
Second part:
P = $3500
r = 6.7% = 6.7/100 = 0.067
t = 9 years
The rule of the end amount is
![A=P(1+rt)](https://img.qammunity.org/2023/formulas/mathematics/high-school/cq9n3xjp7mzdthgt3k38triptucqu3enep.png)
Substitute the given values in the rule
![\begin{gathered} A=3500(1+0.067*9) \\ A=\text{ \$5610.50} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/4zc7g3wm61dn38w02p1kjklt8jmx4lwrsz.png)
The total at the end of 9 years for a simple interest loan is $5610.50